mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Added TODO.
This commit is contained in:
parent
e0827195a4
commit
dae61bb918
@ -55,6 +55,8 @@ void _glfwPlatformGetGammaRamp(GLFWgammaramp* ramp)
|
|||||||
XRRCrtcGamma* gamma = XRRGetCrtcGamma(_glfwLibrary.X11.display,
|
XRRCrtcGamma* gamma = XRRGetCrtcGamma(_glfwLibrary.X11.display,
|
||||||
rr->crtcs[0]);
|
rr->crtcs[0]);
|
||||||
|
|
||||||
|
// TODO: Handle case of original ramp size having a size other than 256
|
||||||
|
|
||||||
memcpy(ramp->red, gamma->red, size);
|
memcpy(ramp->red, gamma->red, size);
|
||||||
memcpy(ramp->green, gamma->green, size);
|
memcpy(ramp->green, gamma->green, size);
|
||||||
memcpy(ramp->blue, gamma->blue, size);
|
memcpy(ramp->blue, gamma->blue, size);
|
||||||
|
Loading…
Reference in New Issue
Block a user