Split drawing and processing events into different functions

This commit is contained in:
2025-06-14 17:54:16 +03:00
parent 7af696cc20
commit ab19981179
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -40,6 +40,7 @@ func main() {
for window.screen != nil {
window.Draw()
window.ProcessEvents()
}
}