src/render/software/SDL_blendline.c
changeset 5981 75caa8a7d559
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
     1.1 --- a/src/render/software/SDL_blendline.c	Wed Oct 12 20:01:09 2011 -0400
     1.2 +++ b/src/render/software/SDL_blendline.c	Thu Oct 13 01:08:30 2011 -0400
     1.3 @@ -124,7 +124,6 @@
     1.4                       SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a,
     1.5                       SDL_bool draw_end)
     1.6  {
     1.7 -    const SDL_PixelFormat *fmt = dst->format;
     1.8      unsigned r, g, b, a, inva;
     1.9  
    1.10      if (blendMode == SDL_BLENDMODE_BLEND || blendMode == SDL_BLENDMODE_ADD) {
    1.11 @@ -216,7 +215,6 @@
    1.12                       SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a,
    1.13                       SDL_bool draw_end)
    1.14  {
    1.15 -    const SDL_PixelFormat *fmt = dst->format;
    1.16      unsigned r, g, b, a, inva;
    1.17  
    1.18      if (blendMode == SDL_BLENDMODE_BLEND || blendMode == SDL_BLENDMODE_ADD) {
    1.19 @@ -492,7 +490,6 @@
    1.20                       SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a,
    1.21                       SDL_bool draw_end)
    1.22  {
    1.23 -    const SDL_PixelFormat *fmt = dst->format;
    1.24      unsigned r, g, b, a, inva;
    1.25  
    1.26      if (blendMode == SDL_BLENDMODE_BLEND || blendMode == SDL_BLENDMODE_ADD) {
    1.27 @@ -584,7 +581,6 @@
    1.28                         SDL_BlendMode blendMode, Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a,
    1.29                         SDL_bool draw_end)
    1.30  {
    1.31 -    const SDL_PixelFormat *fmt = dst->format;
    1.32      unsigned r, g, b, a, inva;
    1.33  
    1.34      if (blendMode == SDL_BLENDMODE_BLEND || blendMode == SDL_BLENDMODE_ADD) {