comparison 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
comparison
equal deleted inserted replaced
4909:fd40b483d489 4910:f205711f73d5
1179 for (i = 0; i < count; ++i) { 1179 for (i = 0; i < count; ++i) {
1180 data->glVertex2f(0.5f + points[i].x, 0.5f + points[i].y); 1180 data->glVertex2f(0.5f + points[i].x, 0.5f + points[i].y);
1181 } 1181 }
1182 data->glEnd(); 1182 data->glEnd();
1183 } else { 1183 } else {
1184 #if defined(__APPLE__) || defined(__WIN32__)
1185 #else
1184 int x1, y1, x2, y2; 1186 int x1, y1, x2, y2;
1187 #endif
1185 1188
1186 data->glBegin(GL_LINE_STRIP); 1189 data->glBegin(GL_LINE_STRIP);
1187 for (i = 0; i < count; ++i) { 1190 for (i = 0; i < count; ++i) {
1188 data->glVertex2f(0.5f + points[i].x, 0.5f + points[i].y); 1191 data->glVertex2f(0.5f + points[i].x, 0.5f + points[i].y);
1189 } 1192 }