mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
graphics: Fix a comment
This commit is contained in:
parent
8935846de7
commit
42332c7b49
@ -146,7 +146,7 @@ func (c *graphicsContext) flush() error {
|
|||||||
if err := graphics.FlushCommands(ui.GLContext()); err != nil {
|
if err := graphics.FlushCommands(ui.GLContext()); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// Call glFlush to prevent black flicking (especially on Android (#226)).
|
// Call glFlush to prevent black flicking (especially on Android (#226) and iOS).
|
||||||
ui.GLContext().Flush()
|
ui.GLContext().Flush()
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user