Added TODO.

This commit is contained in:
Camilla Berglund 2010-10-24 16:16:21 +02:00
parent e0827195a4
commit dae61bb918
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@ void _glfwPlatformGetGammaRamp(GLFWgammaramp* ramp)
XRRCrtcGamma* gamma = XRRGetCrtcGamma(_glfwLibrary.X11.display,
rr->crtcs[0]);
// TODO: Handle case of original ramp size having a size other than 256
memcpy(ramp->red, gamma->red, size);
memcpy(ramp->green, gamma->green, size);
memcpy(ramp->blue, gamma->blue, size);