From c592cd5dbfcb87541afc42b75a1e9ab94641c9a9 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 14 Oct 2010 14:13:39 +0200 Subject: [PATCH] Function comment header updates. --- src/gamma.c | 2 +- src/win32/win32_gamma.c | 10 +++++----- src/x11/x11_gamma.c | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) mode change 100644 => 100755 src/gamma.c mode change 100644 => 100755 src/x11/x11_gamma.c diff --git a/src/gamma.c b/src/gamma.c old mode 100644 new mode 100755 index ff97d600..b2416a98 --- a/src/gamma.c +++ b/src/gamma.c @@ -82,7 +82,7 @@ GLFWAPI void glfwSetGammaFormula(float gamma, float blacklevel, float gain) //======================================================================== -// Return the currently set gamma ramp +// Return the cached currently set gamma ramp //======================================================================== GLFWAPI void glfwGetGammaRamp(GLFWgammaramp* ramp) diff --git a/src/win32/win32_gamma.c b/src/win32/win32_gamma.c index c85a66d2..fc01cc44 100755 --- a/src/win32/win32_gamma.c +++ b/src/win32/win32_gamma.c @@ -32,12 +32,12 @@ #include -//************************************************************************ -//**** GLFW internal functions **** -//************************************************************************ +////////////////////////////////////////////////////////////////////////// +////// GLFW platform API ////// +////////////////////////////////////////////////////////////////////////// //======================================================================== -// Save the gamma ramp to our internal copy +// Retrieve the currently set gamma ramp //======================================================================== void _glfwPlatformGetGammaRamp(GLFWgammaramp* ramp) @@ -47,7 +47,7 @@ void _glfwPlatformGetGammaRamp(GLFWgammaramp* ramp) //======================================================================== -// Restore the gamma ramp to our internal copy of the gamma ramp +// Push the specified gamma ramp to the monitor //======================================================================== void _glfwPlatformSetGammaRamp(const GLFWgammaramp* ramp) diff --git a/src/x11/x11_gamma.c b/src/x11/x11_gamma.c old mode 100644 new mode 100755 index 264e4c98..85522bef --- a/src/x11/x11_gamma.c +++ b/src/x11/x11_gamma.c @@ -33,12 +33,12 @@ #include -//************************************************************************ -//**** GLFW internal functions **** -//************************************************************************ +////////////////////////////////////////////////////////////////////////// +////// GLFW platform API ////// +////////////////////////////////////////////////////////////////////////// //======================================================================== -// Save the original gamma ramp so that we can restore it later +// Retrieve the currently set gamma ramp //======================================================================== void _glfwPlatformGetGammaRamp(GLFWgammaramp* ramp) @@ -78,7 +78,7 @@ void _glfwPlatformGetGammaRamp(GLFWgammaramp* ramp) //======================================================================== -// Make the specified gamma ramp current +// Push the specified gamma ramp to the monitor //======================================================================== void _glfwPlatformSetGammaRamp(const GLFWgammaramp* ramp)