mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
ui: Fix comment
This commit is contained in:
parent
61646e5d03
commit
0469ef386b
@ -487,7 +487,8 @@ func (u *userInterface) loop(g GraphicsContext) error {
|
||||
if err := u.update(g); err != nil {
|
||||
return err
|
||||
}
|
||||
// The bound framebuffer must be the default one (0) before swapping buffers.
|
||||
// The bound framebuffer must be the original screen framebuffer
|
||||
// before swapping buffers.
|
||||
opengl.GetContext().BindScreenFramebuffer()
|
||||
_ = u.runOnMainThread(func() error {
|
||||
u.swapBuffers()
|
||||
|
Loading…
Reference in New Issue
Block a user