This fixes the OpenGL rendering test, at least with my ATI card...
authorSam Lantinga <slouken@libsdl.org>
Mon, 07 Dec 2009 08:02:20 +0000
changeset 3533 40b9b0177e9a
parent 3532 101f94947013
child 3534 9d129e1d0782
This fixes the OpenGL rendering test, at least with my ATI card...
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 */