This commit is contained in:
gingerBill
2021-10-26 11:44:32 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ foreign glfw {
WindowHint :: proc(hint, value: c.int) ---
DefaultWindowHints :: proc() ---
WindowHintString :: proc(hint: c.int, value: cstring) ---
WindowShouldClose :: proc(window: WindowHandle) -> c.int ---
WindowShouldClose :: proc(window: WindowHandle) -> b32 ---
SwapInterval :: proc(interval: c.int) ---
SwapBuffers :: proc(window: WindowHandle) ---

View File

@@ -228,4 +228,4 @@ SetErrorCallback :: glfw.SetErrorCallback
// Used by vendor:OpenGL
gl_set_proc_address :: proc(p: rawptr, name: cstring) {
(^rawptr)(p)^ = GetProcAddress(name)
}
}