Forgot to update the GLFW wrappers

This commit is contained in:
Kovid Goyal
2021-11-11 12:34:57 +05:30
parent d95a00df73
commit 502960bfeb
2 changed files with 7 additions and 0 deletions

3
kitty/glfw-wrapper.c generated
View File

@@ -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());