diff src/video/SDL_renderer_gl.c @ 4910:f205711f73d5

Fix and rename VS2010 project files, add tests to VS2010 solution, fix VS compiler warning
author Andreas Schiffler <aschiffler@ferzkopp.net>
date Fri, 19 Nov 2010 21:51:33 -0800
parents 9779093454d2
children aa8888658021
line wrap: on
line diff
--- a/src/video/SDL_renderer_gl.c	Tue Nov 16 13:24:55 2010 -0500
+++ b/src/video/SDL_renderer_gl.c	Fri Nov 19 21:51:33 2010 -0800
@@ -1181,7 +1181,10 @@
         }
         data->glEnd();
     } else {
+#if defined(__APPLE__) || defined(__WIN32__)
+#else
         int x1, y1, x2, y2;
+#endif
 
         data->glBegin(GL_LINE_STRIP);
         for (i = 0; i < count; ++i) {