# HG changeset patch # User Sam Lantinga # Date 1260172940 0 # Node ID 40b9b0177e9ab0e7c7a968644b792abf08261e6e # Parent 101f94947013d258f35af789990db45938c058f7 This fixes the OpenGL rendering test, at least with my ATI card... diff -r 101f94947013 -r 40b9b0177e9a src/video/SDL_renderer_gl.c --- 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 */