mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
internal/ui: reduce the calls of graphicsDriver()
This commit is contained in:
parent
15548b4c74
commit
8e6907c64a
@ -19,5 +19,5 @@ import (
|
||||
)
|
||||
|
||||
func GraphicsDriverForTesting() graphicsdriver.Graphics {
|
||||
return graphicsDriver()
|
||||
return theUI.graphicsDriver
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user