mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 00:28:49 +00:00
glfw: update from 3.3.8 to 3.4
This commit is contained in:
Vendored
+7
@@ -8,6 +8,10 @@ Terminate :: glfw.Terminate
|
||||
|
||||
InitHint :: glfw.InitHint
|
||||
|
||||
InitAllocator :: glfw.InitAllocator
|
||||
|
||||
InitVulkanLoader :: glfw.InitVulkanLoader
|
||||
|
||||
GetVersion :: proc "c" () -> (major, minor, rev: c.int) {
|
||||
glfw.GetVersion(&major, &minor, &rev)
|
||||
return
|
||||
@@ -121,6 +125,7 @@ GetKeyName :: proc "c" (key, scancode: c.int) -> string {
|
||||
return string(glfw.GetKeyName(key, scancode))
|
||||
}
|
||||
SetWindowShouldClose :: glfw.SetWindowShouldClose
|
||||
GetWindowTitle :: glfw.GetWindowTitle
|
||||
JoystickPresent :: glfw.JoystickPresent
|
||||
GetJoystickName :: proc "c" (joy: c.int) -> string {
|
||||
return string(glfw.GetJoystickName(joy))
|
||||
@@ -237,6 +242,8 @@ SetJoystickCallback :: glfw.SetJoystickCallback
|
||||
|
||||
SetErrorCallback :: glfw.SetErrorCallback
|
||||
|
||||
GetPlatform :: glfw.GetPlatform
|
||||
PlatformSupported :: glfw.PlatformSupported
|
||||
|
||||
// Used by vendor:OpenGL
|
||||
gl_set_proc_address :: proc(p: rawptr, name: cstring) {
|
||||
|
||||
Reference in New Issue
Block a user