mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
New gamma ramp API.
This commit is contained in:
+9
-1
@@ -250,7 +250,7 @@ struct _GLFWmonitor
|
||||
int modeCount;
|
||||
|
||||
GLFWgammaramp originalRamp;
|
||||
GLboolean rampChanged;
|
||||
GLFWgammaramp currentRamp;
|
||||
|
||||
// This is defined in the window API's platform.h
|
||||
_GLFW_PLATFORM_MONITOR_STATE;
|
||||
@@ -716,6 +716,14 @@ GLboolean _glfwIsValidContextConfig(_GLFWwndconfig* wndconfig);
|
||||
*/
|
||||
GLboolean _glfwIsValidContext(_GLFWwndconfig* wndconfig);
|
||||
|
||||
/*! @ingroup utility
|
||||
*/
|
||||
void _glfwAllocGammaRamp(GLFWgammaramp* ramp, unsigned int size);
|
||||
|
||||
/*! @ingroup utility
|
||||
*/
|
||||
void _glfwFreeGammaRamp(GLFWgammaramp* ramp);
|
||||
|
||||
/*! @ingroup utility
|
||||
*/
|
||||
_GLFWmonitor* _glfwCreateMonitor(const char* name, int widthMM, int heightMM);
|
||||
|
||||
Reference in New Issue
Block a user