mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 11:11:47 +02:00
Forgot to update the GLFW wrappers
This commit is contained in:
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");
|
*(void **) (&glfwToggleFullscreen_impl) = dlsym(handle, "glfwToggleFullscreen");
|
||||||
if (glfwToggleFullscreen_impl == NULL) fail("Failed to load glfw function glfwToggleFullscreen with error: %s", dlerror());
|
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");
|
*(void **) (&glfwDestroyWindow_impl) = dlsym(handle, "glfwDestroyWindow");
|
||||||
if (glfwDestroyWindow_impl == NULL) fail("Failed to load glfw function glfwDestroyWindow with error: %s", dlerror());
|
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;
|
GFW_EXTERN glfwToggleFullscreen_func glfwToggleFullscreen_impl;
|
||||||
#define glfwToggleFullscreen 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*);
|
typedef void (*glfwDestroyWindow_func)(GLFWwindow*);
|
||||||
GFW_EXTERN glfwDestroyWindow_func glfwDestroyWindow_impl;
|
GFW_EXTERN glfwDestroyWindow_func glfwDestroyWindow_impl;
|
||||||
#define glfwDestroyWindow glfwDestroyWindow_impl
|
#define glfwDestroyWindow glfwDestroyWindow_impl
|
||||||
|
|||||||
Reference in New Issue
Block a user