mirror of
https://github.com/glfw/glfw.git
synced 2026-08-28 03:25:53 +02:00
Made gamma ramp functions per-monitor.
This commit is contained in:
@@ -49,7 +49,7 @@ static void set_gamma(float value)
|
||||
{
|
||||
gamma_value = value;
|
||||
printf("Gamma: %f\n", gamma_value);
|
||||
glfwSetGamma(gamma_value);
|
||||
glfwSetGamma(glfwGetPrimaryMonitor(), gamma_value);
|
||||
}
|
||||
|
||||
static void error_callback(int error, const char* description)
|
||||
|
||||
Reference in New Issue
Block a user