Fixed missing return value.

This commit is contained in:
Camilla Berglund 2010-09-14 01:11:22 +02:00
parent 24e789b38a
commit d874f7ac98

View File

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