mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Replaced hard-coded gamma ramp size with public constant.
This commit is contained in:
parent
5327b0050e
commit
ad973a5cfe
@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
GLFWAPI void glfwSetGamma(float gamma)
|
GLFWAPI void glfwSetGamma(float gamma)
|
||||||
{
|
{
|
||||||
int i, size = 256;
|
int i, size = GLFW_GAMMA_RAMP_SIZE;
|
||||||
GLFWgammaramp ramp;
|
GLFWgammaramp ramp;
|
||||||
|
|
||||||
if (!_glfwInitialized)
|
if (!_glfwInitialized)
|
||||||
|
Loading…
Reference in New Issue
Block a user