mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Removed duplicate documentation.
The public, platform, native, event and utility functions are already documented in-source. Having duplicate documentation inevitably means having them contradict one another. Furthermore, most of the function descriptions simply repeated the name of the function.
This commit is contained in:
-14
@@ -37,10 +37,6 @@
|
||||
////// GLFW public API //////
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//========================================================================
|
||||
// Calculate a gamma ramp from the specified value and set it
|
||||
//========================================================================
|
||||
|
||||
GLFWAPI void glfwSetGamma(float gamma)
|
||||
{
|
||||
int i, size = GLFW_GAMMA_RAMP_SIZE;
|
||||
@@ -82,11 +78,6 @@ GLFWAPI void glfwSetGamma(float gamma)
|
||||
glfwSetGammaRamp(&ramp);
|
||||
}
|
||||
|
||||
|
||||
//========================================================================
|
||||
// Return the cached currently set gamma ramp
|
||||
//========================================================================
|
||||
|
||||
GLFWAPI void glfwGetGammaRamp(GLFWgammaramp* ramp)
|
||||
{
|
||||
if (!_glfwInitialized)
|
||||
@@ -98,11 +89,6 @@ GLFWAPI void glfwGetGammaRamp(GLFWgammaramp* ramp)
|
||||
*ramp = _glfw.currentRamp;
|
||||
}
|
||||
|
||||
|
||||
//========================================================================
|
||||
// Make the specified gamma ramp current
|
||||
//========================================================================
|
||||
|
||||
GLFWAPI void glfwSetGammaRamp(const GLFWgammaramp* ramp)
|
||||
{
|
||||
if (!_glfwInitialized)
|
||||
|
||||
Reference in New Issue
Block a user