Mercurial > sdl-ios-xcode
diff src/video/SDL_renderer_gl.c @ 5088:c2539ff054c8
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 Jan 2011 15:46:11 -0800 |
parents | e8916fe9cfc8 |
children | da10636e5eca |
line wrap: on
line diff
--- a/src/video/SDL_renderer_gl.c Mon Jan 24 15:10:16 2011 -0800 +++ b/src/video/SDL_renderer_gl.c Mon Jan 24 15:46:11 2011 -0800 @@ -1181,7 +1181,7 @@ } data->glEnd(); } else { -#if defined(__APPLE__) || defined(__WINDOWS__) +#if defined(__APPLE__) || defined(__WIN32__) #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(__WINDOWS__) +#if defined(__APPLE__) || defined(__WIN32__) /* 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