Added warning for nVidia RandR gamma.
This commit is contained in:
Родитель
85bcd1fa0c
Коммит
00f3dc3da6
|
@ -157,6 +157,7 @@ static void initGammaRamp(void)
|
||||||
// This is probably Nvidia RandR with broken gamma support
|
// This is probably Nvidia RandR with broken gamma support
|
||||||
// Flag it as useless and try Xf86VidMode below, if available
|
// Flag it as useless and try Xf86VidMode below, if available
|
||||||
_glfwLibrary.X11.XRandR.gammaBroken = GL_TRUE;
|
_glfwLibrary.X11.XRandR.gammaBroken = GL_TRUE;
|
||||||
|
fprintf(stderr, "Ignoring broken nVidia implementation of RandR 1.2+ gamma\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
XRRFreeScreenResources(rr);
|
XRRFreeScreenResources(rr);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче