Mercurial > sdl-ios-xcode
changeset 3533:40b9b0177e9a
This fixes the OpenGL rendering test, at least with my ATI card...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 07 Dec 2009 08:02:20 +0000 |
parents | 101f94947013 |
children | 9d129e1d0782 |
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 Dec 07 08:01:58 2009 +0000 +++ b/src/video/SDL_renderer_gl.c Mon Dec 07 08:02:20 2009 +0000 @@ -1155,8 +1155,8 @@ * least it would be pixel perfect. */ data->glBegin(GL_POINTS); -#ifdef __APPLE__ - /* Mac OS X seems to always leave the second point open */ +#if defined(__APPLE__) || defined(__WIN32__) + /* Mac OS X and Windows seem to always leave the second point open */ data->glVertex2f(0.5f + x2, 0.5f + y2); #else /* Linux seems to leave the right-most or bottom-most point open */