Mercurial > sdl-ios-xcode
comparison src/video/SDL_renderer_gles.c @ 2937:017d4334accf
Removed unused variable
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 31 Dec 2008 08:05:21 +0000 |
parents | 066384910f50 |
children | 4eabc35fbb4a |
comparison
equal
deleted
inserted
replaced
2936:066384910f50 | 2937:017d4334accf |
---|---|
663 | 663 |
664 static int | 664 static int |
665 GLES_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect) | 665 GLES_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect) |
666 { | 666 { |
667 GLES_RenderData *data = (GLES_RenderData *) renderer->driverdata; | 667 GLES_RenderData *data = (GLES_RenderData *) renderer->driverdata; |
668 SDL_Window *window = SDL_GetWindowFromID(renderer->window); | |
669 | 668 |
670 GLES_SetBlendMode(data, renderer->blendMode); | 669 GLES_SetBlendMode(data, renderer->blendMode); |
671 | 670 |
672 data->glColor4f((GLfloat) renderer->r * inv255f, | 671 data->glColor4f((GLfloat) renderer->r * inv255f, |
673 (GLfloat) renderer->g * inv255f, | 672 (GLfloat) renderer->g * inv255f, |