diff src/video/SDL_renderer_gl.c @ 5062:e8916fe9cfc8

Fixed bug #925 Changed "win32" to "windows"
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Jan 2011 18:04:05 -0800
parents 397e748d901a
children c2539ff054c8
line wrap: on
line diff
--- a/src/video/SDL_renderer_gl.c	Thu Jan 20 17:33:06 2011 -0800
+++ b/src/video/SDL_renderer_gl.c	Thu Jan 20 18:04:05 2011 -0800
@@ -1181,7 +1181,7 @@
         }
         data->glEnd();
     } else {
-#if defined(__APPLE__) || defined(__WIN32__)
+#if defined(__APPLE__) || defined(__WINDOWS__)
 #else
         int x1, y1, x2, y2;
 #endif
@@ -1200,7 +1200,7 @@
          * least it would be pixel perfect.
          */
         data->glBegin(GL_POINTS);
-#if defined(__APPLE__) || defined(__WIN32__)
+#if defined(__APPLE__) || defined(__WINDOWS__)
         /* Mac OS X and Windows seem to always leave the second point open */
         data->glVertex2f(0.5f + points[count-1].x, 0.5f + points[count-1].y);
 #else