You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Oct 23, 2026
·
4 revisions
End canvas (framebuffer) drawing and swap buffers (double buffering)
Parameters
None.
Return value
None.
Notes
Follow EndDrawing immediately with yield. On the web, input that arrives while your script is yielded is marked as old by the next EndDrawing, so an IsKeyPressed check placed between EndDrawing and yield never sees the key. See The Main Loop.