mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
WindowShouldClose should return a bool
This commit is contained in:
Vendored
+3
-1
@@ -52,7 +52,9 @@ DestroyWindow :: glfw.DestroyWindow
|
|||||||
WindowHint :: glfw.WindowHint
|
WindowHint :: glfw.WindowHint
|
||||||
DefaultWindowHints :: glfw.DefaultWindowHints
|
DefaultWindowHints :: glfw.DefaultWindowHints
|
||||||
WindowHintString :: glfw.WindowHintString
|
WindowHintString :: glfw.WindowHintString
|
||||||
WindowShouldClose :: glfw.WindowShouldClose
|
WindowShouldClose :: proc "c" (window: WindowHandle) -> bool {
|
||||||
|
return glfw.WindowShouldClose(window) != 0
|
||||||
|
}
|
||||||
|
|
||||||
SwapInterval :: glfw.SwapInterval
|
SwapInterval :: glfw.SwapInterval
|
||||||
SwapBuffers :: glfw.SwapBuffers
|
SwapBuffers :: glfw.SwapBuffers
|
||||||
|
|||||||
Reference in New Issue
Block a user