Made glfwGetVideoMode return a GLFWvidmode.

This commit is contained in:
Camilla Berglund
2013-01-05 22:07:06 +01:00
parent 9af960e2dd
commit 316ee1d77d
6 changed files with 10 additions and 19 deletions
+1 -2
View File
@@ -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;
}