mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 08:39:45 +00:00
Cleanup
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user