mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Renamed global struct and substructs.
Renamed _glfwLibrary to _glfw and made all substructs lower-case, making global variable names easier to read and type. Partially inspired by the internal naming conventions of glwt.
This commit is contained in:
+3
-3
@@ -95,7 +95,7 @@ GLFWAPI void glfwGetGammaRamp(GLFWgammaramp* ramp)
|
||||
return;
|
||||
}
|
||||
|
||||
*ramp = _glfwLibrary.currentRamp;
|
||||
*ramp = _glfw.currentRamp;
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ GLFWAPI void glfwSetGammaRamp(const GLFWgammaramp* ramp)
|
||||
}
|
||||
|
||||
_glfwPlatformSetGammaRamp(ramp);
|
||||
_glfwLibrary.currentRamp = *ramp;
|
||||
_glfwLibrary.rampChanged = GL_TRUE;
|
||||
_glfw.currentRamp = *ramp;
|
||||
_glfw.rampChanged = GL_TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user