src/render/software/SDL_rotate.c
changeset 9775 8bd9e4e20d99
parent 9763 c2ba8ab27c1a
--- a/src/render/software/SDL_rotate.c	Mon Jun 22 21:30:08 2015 -0400
+++ b/src/render/software/SDL_rotate.c	Tue Jun 23 01:44:44 2015 -0400
@@ -466,13 +466,13 @@
     /* copy alpha mod, color mod, and blend mode */
     {
       SDL_BlendMode blendMode;
-      Uint8 alphaMod, r, g, b;
+      Uint8 alphaMod, cr, cg, cb;
       SDL_GetSurfaceAlphaMod(src, &alphaMod);
       SDL_GetSurfaceBlendMode(src, &blendMode);
-      SDL_GetSurfaceColorMod(src, &r, &g, &b);
+      SDL_GetSurfaceColorMod(src, &cr, &cg, &cb);
       SDL_SetSurfaceAlphaMod(rz_dst, alphaMod);
       SDL_SetSurfaceBlendMode(rz_dst, blendMode);
-      SDL_SetSurfaceColorMod(rz_dst, r, g, b);
+      SDL_SetSurfaceColorMod(rz_dst, cr, cg, cb);
     }
 
     /*