diff --git a/src/platforms/rcore_desktop_glfw.c b/src/platforms/rcore_desktop_glfw.c index f903af741..46ced651c 100644 --- a/src/platforms/rcore_desktop_glfw.c +++ b/src/platforms/rcore_desktop_glfw.c @@ -751,7 +751,7 @@ void *GetWindowHandle(void) #else return glfwGetWaylandWindow(platform.handle); #endif - #else if defined(_GLFW_X11) + #elif defined(_GLFW_X11) // Store the window handle localy and return a pointer to the variable instead // Reasoning detailed in the declaration of X11WindowHandle X11WindowHandle = glfwGetX11Window(platform.handle);