Fixed compiler warnings
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Feb 2011 22:26:59 -0800
changeset 5381 79e60256dbf7
parent 5380 2de85077eb0b
child 5382 fd9a7a0afcbf
Fixed compiler warnings
src/render/opengl/SDL_render_gl.c
--- a/src/render/opengl/SDL_render_gl.c	Mon Feb 21 22:03:39 2011 -0800
+++ b/src/render/opengl/SDL_render_gl.c	Mon Feb 21 22:26:59 2011 -0800
@@ -705,10 +705,10 @@
 
     GL_ActivateRenderer(renderer);
 
-    GL_SetColor(data, (GLfloat) renderer->r,
-                      (GLfloat) renderer->g,
-                      (GLfloat) renderer->b,
-                      (GLfloat) renderer->a);
+    GL_SetColor(data, renderer->r,
+                      renderer->g,
+                      renderer->b,
+                      renderer->a);
 
     GL_SetBlendMode(data, renderer->blendMode);