X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2Fgl%2Fvarray.c;fp=apps%2Fgl%2Fvarray.c;h=aa24b64695029d3e051a56995c9c4f86a5328e9f;hp=8ec8914879452f38186085f4332243f88526518b;hb=18accc76222f74470a060b0524b577e6e8d49f64;hpb=cbcb20d793b9710b48b1446f256f990eba47ef52 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)