src/render/opengl/SDL_render_gl.c
changeset 5381 79e60256dbf7
parent 5355 cc2215cda170
child 5397 88ff1f463134
equal deleted inserted replaced
5380:2de85077eb0b 5381:79e60256dbf7
   703 {
   703 {
   704     GL_RenderData *data = (GL_RenderData *) renderer->driverdata;
   704     GL_RenderData *data = (GL_RenderData *) renderer->driverdata;
   705 
   705 
   706     GL_ActivateRenderer(renderer);
   706     GL_ActivateRenderer(renderer);
   707 
   707 
   708     GL_SetColor(data, (GLfloat) renderer->r,
   708     GL_SetColor(data, renderer->r,
   709                       (GLfloat) renderer->g,
   709                       renderer->g,
   710                       (GLfloat) renderer->b,
   710                       renderer->b,
   711                       (GLfloat) renderer->a);
   711                       renderer->a);
   712 
   712 
   713     GL_SetBlendMode(data, renderer->blendMode);
   713     GL_SetBlendMode(data, renderer->blendMode);
   714 
   714 
   715     GL_SetShader(data, SHADER_SOLID);
   715     GL_SetShader(data, SHADER_SOLID);
   716 }
   716 }