From: José Fonseca Date: Mon, 31 Oct 2011 11:50:09 +0000 (+0000) Subject: Avoid GLU on tests. X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=commitdiff_plain;h=18accc76222f74470a060b0524b577e6e8d49f64 Avoid GLU on tests. Still not properly recorded on MacOSX. --- 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)