]> git.cworth.org Git - apitrace-tests/commitdiff
Avoid GLU on tests.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Mon, 31 Oct 2011 11:50:09 +0000 (11:50 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Mon, 31 Oct 2011 11:50:09 +0000 (11:50 +0000)
Still not properly recorded on MacOSX.

apps/gl/varray.c

index 8ec8914879452f38186085f4332243f88526518b..aa24b64695029d3e051a56995c9c4f86a5328e9f 100644 (file)
@@ -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)