This commit is contained in:
Camilla Berglund
2016-03-28 20:11:22 +02:00
parent 925208d28f
commit f96d865b93
8 changed files with 9 additions and 15 deletions
+2 -2
View File
@@ -236,7 +236,7 @@ static GLFWbool choosePixelFormat(_GLFWwindow* window,
u->doublebuffer = GLFW_TRUE;
}
u->wgl = n;
u->handle = n;
usableCount++;
}
@@ -259,7 +259,7 @@ static GLFWbool choosePixelFormat(_GLFWwindow* window,
return GLFW_FALSE;
}
*result = closest->wgl;
*result = (int) closest->handle;
free(usableConfigs);
return GLFW_TRUE;