mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +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) {
|
func (u *userInterface) updateGraphicsContext(g GraphicsContext) {
|
||||||
actualScale := 0.0
|
actualScale := 0.0
|
||||||
sizeChanged := false
|
sizeChanged := false
|
||||||
|
// TODO: Is it possible to reduce 'runOnMainThread' calls?
|
||||||
_ = u.runOnMainThread(func() error {
|
_ = u.runOnMainThread(func() error {
|
||||||
if !u.sizeChanged {
|
if !u.sizeChanged {
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user