Mercurial > sdl-ios-xcode
changeset 3324:0f19b2fa4125
-0.5 is causing trouble according to comments in bug #783
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 28 Sep 2009 15:32:58 +0000 |
parents | 8d0889509afb |
children | bb9c3d04f126 |
files | src/video/SDL_renderer_gl.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;