This commit is contained in:
Hitry Kolobok 2013-11-25 08:34:24 -08:00
commit d9c51613a4

View File

@ -62,6 +62,12 @@ static const XRRModeInfo* getModeInfo(const XRRScreenResources* sr, RRMode id)
//
void _glfwSetVideoMode(_GLFWmonitor* monitor, const GLFWvidmode* desired)
{
GLFWvidmode current;
_glfwPlatformGetVideoMode(monitor, &current);
if (_glfwCompareVideoModes(&current, desired) == 0)
return;
if (_glfw.x11.randr.available)
{
int i, j;