mirror of
https://github.com/glfw/glfw.git
synced 2026-11-18 12:54:54 +00:00
Cleanup.
This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ int main(int argc, char** argv)
|
||||
if (mode == GLFW_FULLSCREEN)
|
||||
{
|
||||
GLFWvidmode mode;
|
||||
glfwGetVideoMode(glfwGetNextMonitor(NULL), &mode);
|
||||
glfwGetVideoMode(glfwGetPrimaryMonitor(), &mode);
|
||||
width = mode.width;
|
||||
height = mode.height;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user