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