1.1 --- a/src/test/SDL_test_imageBlit.c Sat May 18 12:48:50 2013 -0700
1.2 +++ b/src/test/SDL_test_imageBlit.c Sat May 18 14:17:52 2013 -0700
1.3 @@ -540,11 +540,11 @@
1.4 */
1.5 SDL_Surface *SDLTest_ImageBlit()
1.6 {
1.7 - SDL_Surface *surface = SDL_CreateRGBSurfaceFrom(
1.8 + SDL_Surface *surface = SDL_CreateRGBSurfaceFrom(
1.9 (void*)SDLTest_imageBlit.pixel_data,
1.10 - SDLTest_imageBlit.width,
1.11 - SDLTest_imageBlit.height,
1.12 - SDLTest_imageBlit.bytes_per_pixel * 8,
1.13 + SDLTest_imageBlit.width,
1.14 + SDLTest_imageBlit.height,
1.15 + SDLTest_imageBlit.bytes_per_pixel * 8,
1.16 SDLTest_imageBlit.width * SDLTest_imageBlit.bytes_per_pixel,
1.17 #if (SDL_BYTEORDER == SDL_BIG_ENDIAN)
1.18 0xff000000, /* Red bit mask. */
1.19 @@ -1023,11 +1023,11 @@
1.20 */
1.21 SDL_Surface *SDLTest_ImageBlitColor()
1.22 {
1.23 - SDL_Surface *surface = SDL_CreateRGBSurfaceFrom(
1.24 + SDL_Surface *surface = SDL_CreateRGBSurfaceFrom(
1.25 (void*)SDLTest_imageBlitColor.pixel_data,
1.26 - SDLTest_imageBlitColor.width,
1.27 - SDLTest_imageBlitColor.height,
1.28 - SDLTest_imageBlitColor.bytes_per_pixel * 8,
1.29 + SDLTest_imageBlitColor.width,
1.30 + SDLTest_imageBlitColor.height,
1.31 + SDLTest_imageBlitColor.bytes_per_pixel * 8,
1.32 SDLTest_imageBlitColor.width * SDLTest_imageBlitColor.bytes_per_pixel,
1.33 #if (SDL_BYTEORDER == SDL_BIG_ENDIAN)
1.34 0xff000000, /* Red bit mask. */
1.35 @@ -1535,10 +1535,10 @@
1.36 */
1.37 SDL_Surface *SDLTest_ImageBlitAlpha()
1.38 {
1.39 - SDL_Surface *surface = SDL_CreateRGBSurfaceFrom(
1.40 + SDL_Surface *surface = SDL_CreateRGBSurfaceFrom(
1.41 (void*)SDLTest_imageBlitAlpha.pixel_data,
1.42 - SDLTest_imageBlitAlpha.width,
1.43 - SDLTest_imageBlitAlpha.height,
1.44 + SDLTest_imageBlitAlpha.width,
1.45 + SDLTest_imageBlitAlpha.height,
1.46 SDLTest_imageBlitAlpha.bytes_per_pixel * 8,
1.47 SDLTest_imageBlitAlpha.width * SDLTest_imageBlitAlpha.bytes_per_pixel,
1.48 #if (SDL_BYTEORDER == SDL_BIG_ENDIAN)