Made gamma test set gamma at startup.

This commit is contained in:
Camilla Berglund 2012-02-07 02:22:09 +01:00
parent ba3a60523b
commit 55a34c6967

View File

@ -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);