Add temporary #ifdef in x11_fullscreen so EGL compiles

master
Cloudef ago%!(EXTRA string=13 years) committed by Jari Vetoniemi
parent 29b4ed4e9a
commit d99e2385c1
  1. 3
      src/x11_fullscreen.c

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

Loading…
Cancel
Save