Fixed compiler warnings
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Feb 2011 22:26:59 -0800
changeset 538179e60256dbf7
parent 5380 2de85077eb0b
child 5382 fd9a7a0afcbf
Fixed compiler warnings
src/render/opengl/SDL_render_gl.c
     1.1 --- a/src/render/opengl/SDL_render_gl.c	Mon Feb 21 22:03:39 2011 -0800
     1.2 +++ b/src/render/opengl/SDL_render_gl.c	Mon Feb 21 22:26:59 2011 -0800
     1.3 @@ -705,10 +705,10 @@
     1.4  
     1.5      GL_ActivateRenderer(renderer);
     1.6  
     1.7 -    GL_SetColor(data, (GLfloat) renderer->r,
     1.8 -                      (GLfloat) renderer->g,
     1.9 -                      (GLfloat) renderer->b,
    1.10 -                      (GLfloat) renderer->a);
    1.11 +    GL_SetColor(data, renderer->r,
    1.12 +                      renderer->g,
    1.13 +                      renderer->b,
    1.14 +                      renderer->a);
    1.15  
    1.16      GL_SetBlendMode(data, renderer->blendMode);
    1.17