From f86edf8d3cc164f22bcf49a270a14d127a165791 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 22 Aug 2016 00:32:10 +0200 Subject: [PATCH] Remove GL1 from gamma test --- tests/gamma.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/gamma.c b/tests/gamma.c index a80392f7..9ed4e131 100644 --- a/tests/gamma.c +++ b/tests/gamma.c @@ -165,19 +165,12 @@ int main(int argc, char** argv) glfwSetKeyCallback(window, key_callback); glfwSetFramebufferSizeCallback(window, framebuffer_size_callback); - glMatrixMode(GL_PROJECTION); - glOrtho(-1.f, 1.f, -1.f, 1.f, -1.f, 1.f); - glMatrixMode(GL_MODELVIEW); - glClearColor(0.5f, 0.5f, 0.5f, 0); while (!glfwWindowShouldClose(window)) { glClear(GL_COLOR_BUFFER_BIT); - glColor3f(0.8f, 0.2f, 0.4f); - glRectf(-0.5f, -0.5f, 0.5f, 0.5f); - glfwSwapBuffers(window); glfwWaitEvents(); }