internal/ui: reduce the calls of graphicsDriver()

This commit is contained in:
Hajime Hoshi 2022-03-22 02:17:41 +09:00
parent 15548b4c74
commit 8e6907c64a

View File

@ -19,5 +19,5 @@ import (
)
func GraphicsDriverForTesting() graphicsdriver.Graphics {
return graphicsDriver()
return theUI.graphicsDriver
}