Core: Add defer

This commit is contained in:
Krzosa Karol
2023-04-22 14:23:08 +02:00
parent d9a7882f8c
commit ad301153d4
8 changed files with 61 additions and 48 deletions

View File

@@ -54,7 +54,9 @@ main :: (): int
target_color := RED
target_color.a = 255/2
testing := 0
for !WindowShouldClose()
defer ;; testing += 1
WinX = GetScreenWidth()
WinY = GetScreenHeight()
MouseX = GetMouseX()