comparison src/video/SDL_renderer_gl.c @ 2937:017d4334accf

Removed unused variable
author Sam Lantinga <slouken@libsdl.org>
date Wed, 31 Dec 2008 08:05:21 +0000
parents 066384910f50
children 8f4ed5ec2b06
comparison
equal deleted inserted replaced
2936:066384910f50 2937:017d4334accf
1107 1107
1108 static int 1108 static int
1109 GL_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect) 1109 GL_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect)
1110 { 1110 {
1111 GL_RenderData *data = (GL_RenderData *) renderer->driverdata; 1111 GL_RenderData *data = (GL_RenderData *) renderer->driverdata;
1112 SDL_Window *window = SDL_GetWindowFromID(renderer->window);
1113 1112
1114 GL_SetBlendMode(data, renderer->blendMode); 1113 GL_SetBlendMode(data, renderer->blendMode);
1115 1114
1116 data->glColor4f((GLfloat) renderer->r * inv255f, 1115 data->glColor4f((GLfloat) renderer->r * inv255f,
1117 (GLfloat) renderer->g * inv255f, 1116 (GLfloat) renderer->g * inv255f,