mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
ui: Add TODO
This commit is contained in:
parent
556b2ec31b
commit
a87f197c1b
@ -425,6 +425,7 @@ func (u *userInterface) pollEvents() {
|
||||
func (u *userInterface) updateGraphicsContext(g GraphicsContext) {
|
||||
actualScale := 0.0
|
||||
sizeChanged := false
|
||||
// TODO: Is it possible to reduce 'runOnMainThread' calls?
|
||||
_ = u.runOnMainThread(func() error {
|
||||
if !u.sizeChanged {
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user