src/video/SDL_blit_N.c
changeset 1487 dc6b59e925a2
parent 1443 9ebbbb4ae53b
child 1543 98f9b16f565c
     1.1 --- a/src/video/SDL_blit_N.c	Wed Mar 08 18:30:12 2006 +0000
     1.2 +++ b/src/video/SDL_blit_N.c	Thu Mar 09 06:33:21 2006 +0000
     1.3 @@ -119,7 +119,7 @@
     1.4      if (!dstfmt) {
     1.5          dstfmt = &default_pixel_format;
     1.6      }
     1.7 -    vector unsigned char plus = VECUINT8_LITERAL(
     1.8 +    const vector unsigned char plus = VECUINT8_LITERAL(
     1.9                                        0x00, 0x00, 0x00, 0x00,
    1.10                                        0x04, 0x04, 0x04, 0x04,
    1.11                                        0x08, 0x08, 0x08, 0x08,
    1.12 @@ -559,10 +559,11 @@
    1.13      vpermute = calc_swizzle32(srcfmt, dstfmt);
    1.14      if (info->d_width < 16) {
    1.15          if(copy_alpha) {
    1.16 -            return BlitNtoNKeyCopyAlpha(info);
    1.17 +            BlitNtoNKeyCopyAlpha(info);
    1.18          } else {
    1.19 -            return BlitNtoNKey(info);
    1.20 +            BlitNtoNKey(info);
    1.21          }
    1.22 +        return;
    1.23      }
    1.24      vzero = vec_splat_u8(0);
    1.25      if (alpha) {