Clarified names of gamma array helper functions.

This commit is contained in:
Camilla Berglund
2013-07-04 14:51:52 +02:00
parent 209a470a5f
commit d7512f529c
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ void _glfwPlatformGetGammaRamp(_GLFWmonitor* monitor, GLFWgammaramp* ramp)
GetDeviceGammaRamp(dc, values);
DeleteDC(dc);
_glfwAllocGammaRamp(ramp, 256);
_glfwAllocGammaArrays(ramp, 256);
memcpy(ramp->red, values + 0, 256 * sizeof(unsigned short));
memcpy(ramp->green, values + 256, 256 * sizeof(unsigned short));