mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 16:30:45 +00:00
Only restore gamma ramp if it has been changed.
This commit is contained in:
@@ -245,6 +245,7 @@ struct _GLFWlibrary
|
||||
GLFWgammaramp currentRamp;
|
||||
GLFWgammaramp originalRamp;
|
||||
int originalRampSize;
|
||||
GLboolean rampChanged;
|
||||
|
||||
// This is defined in the current port's platform.h
|
||||
_GLFW_PLATFORM_LIBRARY_WINDOW_STATE;
|
||||
|
||||
Reference in New Issue
Block a user