mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 16:30:45 +00:00
Merge branch 'master' of github.com:elmindreda/glfw
This commit is contained in:
@@ -147,6 +147,7 @@ GLFWAPI int glfwInit(void)
|
||||
_glfw.monitors = _glfwPlatformGetMonitors(&_glfw.monitorCount);
|
||||
if (!_glfw.monitors)
|
||||
{
|
||||
_glfwErrorCallback(GLFW_PLATFORM_ERROR, "No monitors found");
|
||||
_glfwPlatformTerminate();
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user