Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
-0.5 is causing trouble according to comments in bug #783
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 28, 2009
1 parent ad63024 commit 761bf14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/SDL_renderer_gl.c
Expand Up @@ -448,8 +448,8 @@ GL_ActivateRenderer(SDL_Renderer * renderer)
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;
Expand Down

0 comments on commit 761bf14

Please sign in to comment.