mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Made glfwGetVideoMode return a GLFWvidmode.
This commit is contained in:
+1
-2
@@ -130,8 +130,7 @@ int main(int argc, char** argv)
|
||||
|
||||
if (monitor)
|
||||
{
|
||||
GLFWvidmode mode;
|
||||
glfwGetVideoMode(monitor, &mode);
|
||||
GLFWvidmode mode = glfwGetVideoMode(monitor);
|
||||
width = mode.width;
|
||||
height = mode.height;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user