Forgot to update the GLFW wrappers
This commit is contained in:
parent
d95a00df73
commit
502960bfeb
3
kitty/glfw-wrapper.c
generated
3
kitty/glfw-wrapper.c
generated
@ -114,6 +114,9 @@ load_glfw(const char* path) {
|
||||
*(void **) (&glfwToggleFullscreen_impl) = dlsym(handle, "glfwToggleFullscreen");
|
||||
if (glfwToggleFullscreen_impl == NULL) fail("Failed to load glfw function glfwToggleFullscreen with error: %s", dlerror());
|
||||
|
||||
*(void **) (&glfwIsFullscreen_impl) = dlsym(handle, "glfwIsFullscreen");
|
||||
if (glfwIsFullscreen_impl == NULL) fail("Failed to load glfw function glfwIsFullscreen with error: %s", dlerror());
|
||||
|
||||
*(void **) (&glfwDestroyWindow_impl) = dlsym(handle, "glfwDestroyWindow");
|
||||
if (glfwDestroyWindow_impl == NULL) fail("Failed to load glfw function glfwDestroyWindow with error: %s", dlerror());
|
||||
|
||||
|
||||
4
kitty/glfw-wrapper.h
generated
4
kitty/glfw-wrapper.h
generated
@ -1732,6 +1732,10 @@ typedef bool (*glfwToggleFullscreen_func)(GLFWwindow*, unsigned int);
|
||||
GFW_EXTERN glfwToggleFullscreen_func glfwToggleFullscreen_impl;
|
||||
#define glfwToggleFullscreen glfwToggleFullscreen_impl
|
||||
|
||||
typedef bool (*glfwIsFullscreen_func)(GLFWwindow*, unsigned int);
|
||||
GFW_EXTERN glfwIsFullscreen_func glfwIsFullscreen_impl;
|
||||
#define glfwIsFullscreen glfwIsFullscreen_impl
|
||||
|
||||
typedef void (*glfwDestroyWindow_func)(GLFWwindow*);
|
||||
GFW_EXTERN glfwDestroyWindow_func glfwDestroyWindow_impl;
|
||||
#define glfwDestroyWindow glfwDestroyWindow_impl
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user