# HG changeset patch # User Sam Lantinga # Date 1254151978 0 # Node ID 0f19b2fa4125485f6e315f7ae34186ec860c672e # Parent 8d0889509afb1fd6b2644bc3947122cda93e4187 -0.5 is causing trouble according to comments in bug #783 diff -r 8d0889509afb -r 0f19b2fa4125 src/video/SDL_renderer_gl.c --- a/src/video/SDL_renderer_gl.c Mon Sep 28 15:32:19 2009 +0000 +++ b/src/video/SDL_renderer_gl.c Mon Sep 28 15:32:58 2009 +0000 @@ -448,8 +448,8 @@ data->glMatrixMode(GL_MODELVIEW); data->glLoadIdentity(); data->glViewport(0, 0, window->w, window->h); - data->glOrtho(-0.5, (GLdouble) window->w-0.5, - (GLdouble) window->h-0.5, -0.5, 0.0, 1.0); + data->glOrtho(0.0, (GLdouble) window->w, + (GLdouble) window->h, 0.0, 0.0, 1.0); data->updateSize = SDL_FALSE; } return 0;