mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Made gamma test set gamma at startup.
This commit is contained in:
parent
ba3a60523b
commit
55a34c6967
@ -124,6 +124,7 @@ int main(int argc, char** argv)
|
|||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
glfwSetGamma(gamma);
|
||||||
printf("Gamma: %f\n", gamma);
|
printf("Gamma: %f\n", gamma);
|
||||||
|
|
||||||
glfwSwapInterval(1);
|
glfwSwapInterval(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user