mirror of
https://github.com/glfw/glfw.git
synced 2024-11-27 06:44:35 +00:00
Add temporary #ifdef in x11_fullscreen so EGL compiles
This commit is contained in:
parent
29b4ed4e9a
commit
d99e2385c1
@ -357,6 +357,8 @@ int _glfwPlatformGetVideoModes(GLFWvidmode* list, int maxcount)
|
|||||||
rgbarray = (int*) malloc(sizeof(int) * viscount);
|
rgbarray = (int*) malloc(sizeof(int) * viscount);
|
||||||
rgbcount = 0;
|
rgbcount = 0;
|
||||||
|
|
||||||
|
// Temporary solution
|
||||||
|
#if !defined(_GLFW_X11_EGL)
|
||||||
// Build RGB array
|
// Build RGB array
|
||||||
for (k = 0; k < viscount; k++)
|
for (k = 0; k < viscount; k++)
|
||||||
{
|
{
|
||||||
@ -386,6 +388,7 @@ int _glfwPlatformGetVideoModes(GLFWvidmode* list, int maxcount)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
XFree(vislist);
|
XFree(vislist);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user