mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
Change bool to b32
This commit is contained in:
Vendored
+1
-1
@@ -39,7 +39,7 @@ when ODIN_OS == .Windows {
|
||||
/*** Functions ***/
|
||||
@(default_calling_convention="c", link_prefix="glfw")
|
||||
foreign glfw {
|
||||
Init :: proc() -> bool ---
|
||||
Init :: proc() -> b32 ---
|
||||
Terminate :: proc() ---
|
||||
|
||||
InitHint :: proc(hint, value: c.int) ---
|
||||
|
||||
Vendored
+1
-1
@@ -53,7 +53,7 @@ WindowHint_int :: proc "contextless" (hint: c.int, value: c.int) {
|
||||
glfw.WindowHint(hint, value)
|
||||
}
|
||||
|
||||
WindowHint_bool :: proc "contextless" (hint: c.int, value: bool) {
|
||||
WindowHint_bool :: proc "contextless" (hint: c.int, value: b32) {
|
||||
glfw.WindowHint(hint, cast(c.int) value)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user