diff src/video/SDL_renderer_gl.c @ 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 83518f8fcd61
children 0267b8b1595c
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 */