mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 23:33:16 +01:00
Replaced hard-coded gamma ramp size with public constant.
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
|
||||
GLFWAPI void glfwSetGamma(float gamma)
|
||||
{
|
||||
int i, size = 256;
|
||||
int i, size = GLFW_GAMMA_RAMP_SIZE;
|
||||
GLFWgammaramp ramp;
|
||||
|
||||
if (!_glfwInitialized)
|
||||
|
||||
Reference in New Issue
Block a user