Merge pull request #1243 from ProkopRandacek/patch-1

glfw.WindowShouldClose should return a bool
This commit is contained in:
gingerBill
2021-10-25 19:41:58 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ foreign glfw {
WindowHint :: proc(hint, value: c.int) --- WindowHint :: proc(hint, value: c.int) ---
DefaultWindowHints :: proc() --- DefaultWindowHints :: proc() ---
WindowHintString :: proc(hint: c.int, value: cstring) --- WindowHintString :: proc(hint: c.int, value: cstring) ---
WindowShouldClose :: proc(window: WindowHandle) -> c.int --- WindowShouldClose :: proc(window: WindowHandle) -> b32 ---
SwapInterval :: proc(interval: c.int) --- SwapInterval :: proc(interval: c.int) ---
SwapBuffers :: proc(window: WindowHandle) --- SwapBuffers :: proc(window: WindowHandle) ---