X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fflurry.c;h=346c1151d0064969b827d7512ff76cd5b1d1347a;hp=08305b0a1ded2351a83a5f5755479a87ca570964;hb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;hpb=ec8d2b32b63649e6d32bdfb306eda062769af823 diff --git a/hacks/glx/flurry.c b/hacks/glx/flurry.c index 08305b0a..346c1151 100644 --- a/hacks/glx/flurry.c +++ b/hacks/glx/flurry.c @@ -199,7 +199,7 @@ void GLSetupRC(global_info_t *global) glViewport(0,0,(int) global->sys_glWidth,(int) global->sys_glHeight); glMatrixMode(GL_PROJECTION); glLoadIdentity(); - gluOrtho2D(0,global->sys_glWidth,0,global->sys_glHeight); + glOrtho(0,global->sys_glWidth,0,global->sys_glHeight,-1,1); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); @@ -325,7 +325,7 @@ ENTRYPOINT void reshape_flurry(ModeInfo *mi, int width, int height) glViewport(0.0, 0.0, width, height); glMatrixMode(GL_PROJECTION); glLoadIdentity(); - gluOrtho2D(0, width, 0, height); + glOrtho(0, width, 0, height,-1,1); glMatrixMode(GL_MODELVIEW); glClear(GL_COLOR_BUFFER_BIT); glFlush();