fast background
This commit is contained in:
@@ -5,6 +5,11 @@ import (
|
||||
)
|
||||
|
||||
func (w *World) drawBackground(drawer PrimitiveDrawer, params RenderParams, rect RectPx) {
|
||||
if gd, ok := drawer.(*GGDrawer); ok {
|
||||
if gd.drawBackgroundFast(w, params, rect) {
|
||||
return
|
||||
}
|
||||
}
|
||||
th := w.Theme()
|
||||
bgImg := th.BackgroundImage()
|
||||
if bgImg == nil {
|
||||
|
||||
Reference in New Issue
Block a user