From 18accc76222f74470a060b0524b577e6e8d49f64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 31 Oct 2011 11:50:09 +0000 Subject: [PATCH] Avoid GLU on tests. Still not properly recorded on MacOSX. --- apps/gl/varray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gl/varray.c b/apps/gl/varray.c index 8ec8914..aa24b64 100644 --- a/apps/gl/varray.c +++ b/apps/gl/varray.c @@ -144,7 +144,7 @@ static void reshape(int w, int h) glViewport(0, 0, (GLsizei) w, (GLsizei) h); glMatrixMode(GL_PROJECTION); glLoadIdentity(); - gluOrtho2D(0.0, (GLdouble) w, 0.0, (GLdouble) h); + glOrtho(0.0, (GLdouble) w, 0.0, (GLdouble) h, -1.0, 1.0); } int main(int argc, char** argv) -- 2.43.0