FIX: Should be null in case of no monitors

This commit is contained in:
Eric Larson 2015-04-13 13:37:15 -07:00
parent 5733b0e4cb
commit 44dfe244cf

View File

@ -201,7 +201,7 @@ void _glfwRestoreVideoMode(_GLFWmonitor* monitor)
_GLFWmonitor** _glfwPlatformGetMonitors(int* count)
{
int i, j, k, found = 0;
_GLFWmonitor** monitors;
_GLFWmonitor** monitors = NULL;
*count = 0;