Removed uses of GLU in tests.

This commit is contained in:
Camilla Berglund
2014-06-10 14:35:50 +02:00
parent 7653f3af49
commit cb9d194f86
3 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -27,7 +27,6 @@
//
//========================================================================
#define GLFW_INCLUDE_GLU
#include <GLFW/glfw3.h>
#include <stdio.h>
@@ -100,7 +99,7 @@ static void draw_quad(GLuint texture)
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluOrtho2D(0.f, 1.f, 0.f, 1.f);
glOrtho(0.f, 1.f, 0.f, 1.f, 0.f, 1.f);
glEnable(GL_TEXTURE_2D);
glBindTexture(GL_TEXTURE_2D, texture);