mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
Formatting.
This commit is contained in:
parent
d6210b11f3
commit
ccec055ff7
@ -59,9 +59,9 @@ void _glfwInitGammaRamp(void)
|
||||
|
||||
_glfwLibrary.originalRampSize = XRRGetCrtcGammaSize(_glfwLibrary.X11.display,
|
||||
rr->crtcs[0]);
|
||||
if (!_glfwLibrary.originalRampSize)
|
||||
if (_glfwLibrary.originalRampSize == 0)
|
||||
{
|
||||
// This is probably Nvidia RandR with broken gamma support
|
||||
// This is probably older Nvidia RandR with broken gamma support
|
||||
// Flag it as useless and try Xf86VidMode below, if available
|
||||
_glfwLibrary.X11.RandR.gammaBroken = GL_TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user