From ded3a16e7268287d51b72956bb0b9d2ab49ff102 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 23 Jun 2015 01:44:44 -0400 Subject: [PATCH] Fixed compiler warning about shadowed local variables. --- src/render/software/SDL_rotate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/render/software/SDL_rotate.c b/src/render/software/SDL_rotate.c index 89a3aac2b7e1a..8d92758f87585 100644 --- a/src/render/software/SDL_rotate.c +++ b/src/render/software/SDL_rotate.c @@ -466,13 +466,13 @@ SDLgfx_rotateSurface(SDL_Surface * src, double angle, int centerx, int centery, /* 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); } /*