comparison src/video/SDL_renderer_gl.c @ 3599:0f958e527e5e

Updated to compile on Windows
author Sam Lantinga <slouken@libsdl.org>
date Thu, 24 Dec 2009 19:18:05 +0000
parents f638ded38b8a
children 8b4c0320638e
comparison
equal deleted inserted replaced
3598:427ff6d745df 3599:0f958e527e5e
1223 static int 1223 static int
1224 GL_RenderDrawRects(SDL_Renderer * renderer, const SDL_Rect ** rects, int count) 1224 GL_RenderDrawRects(SDL_Renderer * renderer, const SDL_Rect ** rects, int count)
1225 { 1225 {
1226 GL_RenderData *data = (GL_RenderData *) renderer->driverdata; 1226 GL_RenderData *data = (GL_RenderData *) renderer->driverdata;
1227 int i, x, y; 1227 int i, x, y;
1228 SDL_Point points[4];
1229 1228
1230 GL_SetBlendMode(data, renderer->blendMode, 1); 1229 GL_SetBlendMode(data, renderer->blendMode, 1);
1231 1230
1232 data->glColor4f((GLfloat) renderer->r * inv255f, 1231 data->glColor4f((GLfloat) renderer->r * inv255f,
1233 (GLfloat) renderer->g * inv255f, 1232 (GLfloat) renderer->g * inv255f,