Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Moved some code around.
  • Loading branch information
bobbens committed Jul 7, 2009
1 parent feb7204 commit 2e3d757a53244c4105908668a0e91ab6ee8838b9
Showing with 1 addition and 11 deletions.
  1. +1 −11 test/automated/surface/surface.c
@@ -325,22 +325,12 @@ static void surface_testBlit (void)

SDL_ATbegin( "Blit Test" );

/* Create the blit surface. */
face = SDL_LoadBMP("../icon.bmp");
if (SDL_ATassert( "SDL_CreateLoadBmp", face != NULL))
return;

/* Set transparent pixel as the pixel at (0,0) */
if (face->format->palette)
SDL_SetColorKey(face, (SDL_SRCCOLORKEY | SDL_RLEACCEL),
*(Uint8 *) face->pixels);
/*
/* Create face surface. */
face = SDL_CreateRGBSurfaceFrom( (void*)img_face.pixel_data,
img_face.width, img_face.height, 32, img_face.width*4,
RMASK, GMASK, BMASK, AMASK );
if (SDL_ATassert( "SDL_CreateRGBSurfaceFrom", face != NULL))
return;
*/

/* Create the test surface. */
testsur = SDL_CreateRGBSurface( 0, 80, 60, 32,

0 comments on commit 2e3d757

Please sign in to comment.