Add temporary #ifdef in x11_fullscreen so EGL compiles

This commit is contained in:
Cloudef 2012-04-25 09:34:00 +03:00 committed by Jari Vetoniemi
parent 29b4ed4e9a
commit d99e2385c1

View File

@ -357,6 +357,8 @@ int _glfwPlatformGetVideoModes(GLFWvidmode* list, int maxcount)
rgbarray = (int*) malloc(sizeof(int) * viscount);
rgbcount = 0;
// Temporary solution
#if !defined(_GLFW_X11_EGL)
// Build RGB array
for (k = 0; k < viscount; k++)
{
@ -386,6 +388,7 @@ int _glfwPlatformGetVideoModes(GLFWvidmode* list, int maxcount)
}
}
}
#endif
XFree(vislist);