Fixed missing return value.

master
Camilla Berglund ago%!(EXTRA string=15 years)
parent 24e789b38a
commit d874f7ac98
  1. 2
      src/fullscreen.c

@ -78,7 +78,7 @@ GLFWAPI int glfwGetVideoModes(GLFWvidmode* list, int maxcount)
if (!_glfwInitialized)
{
_glfwSetError(GLFW_NOT_INITIALIZED);
return;
return 0;
}
if (maxcount <= 0 || list == NULL)

Loading…
Cancel
Save