mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 08:23:13 +00:00
Video mode detection cleanup.
This commit is contained in:
@@ -54,7 +54,6 @@ GLboolean _glfwSetVideoMode(_GLFWmonitor* monitor, const GLFWvidmode* desired)
|
||||
DEVMODEW dm;
|
||||
|
||||
best = _glfwChooseVideoMode(monitor, desired);
|
||||
|
||||
_glfwPlatformGetVideoMode(monitor, ¤t);
|
||||
if (_glfwCompareVideoModes(¤t, best) == 0)
|
||||
return GL_TRUE;
|
||||
|
||||
Reference in New Issue
Block a user