Fixed bad macro logic

This commit is contained in:
Diogo Diniz
2025-08-14 18:56:31 +01:00
parent 59c979a59d
commit eae1296b08

View File

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