mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
Vendored
+1
-1
@@ -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) ---
|
||||||
|
|||||||
Vendored
+1
-1
@@ -228,4 +228,4 @@ SetErrorCallback :: glfw.SetErrorCallback
|
|||||||
// Used by vendor:OpenGL
|
// Used by vendor:OpenGL
|
||||||
gl_set_proc_address :: proc(p: rawptr, name: cstring) {
|
gl_set_proc_address :: proc(p: rawptr, name: cstring) {
|
||||||
(^rawptr)(p)^ = GetProcAddress(name)
|
(^rawptr)(p)^ = GetProcAddress(name)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user