src/video/SDL_renderer_gles.c
changeset 2937 017d4334accf
parent 2936 066384910f50
child 2949 4eabc35fbb4a
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,