src/video/SDL_blit.h
changeset 8922 dfb6f8611ebe
parent 8149 681eb46b8ac4
child 9619 b94b6d0bff0f
     1.1 --- a/src/video/SDL_blit.h	Wed Jun 25 00:20:21 2014 -0700
     1.2 +++ b/src/video/SDL_blit.h	Wed Jun 25 00:43:10 2014 -0700
     1.3 @@ -402,18 +402,18 @@
     1.4  {                                                                       \
     1.5      switch (bpp) {                                                      \
     1.6          case 1: {                                                       \
     1.7 -            Uint8 Pixel;                                                \
     1.8 +            Uint8 _pixel;                                               \
     1.9                                                                          \
    1.10 -            PIXEL_FROM_RGBA(Pixel, fmt, r, g, b, a);                    \
    1.11 -            *((Uint8 *)(buf)) = Pixel;                                  \
    1.12 +            PIXEL_FROM_RGBA(_pixel, fmt, r, g, b, a);                   \
    1.13 +            *((Uint8 *)(buf)) = _pixel;                                 \
    1.14          }                                                               \
    1.15          break;                                                          \
    1.16                                                                          \
    1.17          case 2: {                                                       \
    1.18 -            Uint16 Pixel;                                               \
    1.19 +            Uint16 _pixel;                                              \
    1.20                                                                          \
    1.21 -            PIXEL_FROM_RGBA(Pixel, fmt, r, g, b, a);                    \
    1.22 -            *((Uint16 *)(buf)) = Pixel;                                 \
    1.23 +            PIXEL_FROM_RGBA(_pixel, fmt, r, g, b, a);                   \
    1.24 +            *((Uint16 *)(buf)) = _pixel;                                \
    1.25          }                                                               \
    1.26          break;                                                          \
    1.27                                                                          \
    1.28 @@ -431,10 +431,10 @@
    1.29          break;                                                          \
    1.30                                                                          \
    1.31          case 4: {                                                       \
    1.32 -            Uint32 Pixel;                                               \
    1.33 +            Uint32 _pixel;                                              \
    1.34                                                                          \
    1.35 -            PIXEL_FROM_RGBA(Pixel, fmt, r, g, b, a);                    \
    1.36 -            *((Uint32 *)(buf)) = Pixel;                                 \
    1.37 +            PIXEL_FROM_RGBA(_pixel, fmt, r, g, b, a);                   \
    1.38 +            *((Uint32 *)(buf)) = _pixel;                                \
    1.39          }                                                               \
    1.40          break;                                                          \
    1.41      }                                                                   \