include/SDL_test_images.h
changeset 7053 187225ae13e5
parent 7051 cf773d8091c7
child 7191 75360622e65f
equal deleted inserted replaced
7052:1297b81ad473 7053:187225ae13e5
    51  */
    51  */
    52 typedef struct SDLTest_SurfaceImage_s {
    52 typedef struct SDLTest_SurfaceImage_s {
    53   int width;
    53   int width;
    54   int height;
    54   int height;
    55   unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */ 
    55   unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */ 
    56   const unsigned char *pixel_data;
    56   const char *pixel_data;
    57 } SDLTest_SurfaceImage_t;
    57 } SDLTest_SurfaceImage_t;
    58 
    58 
    59 /* Test images */
    59 /* Test images */
    60 SDL_Surface *SDLTest_ImageBlit();
    60 SDL_Surface *SDLTest_ImageBlit();
    61 SDL_Surface *SDLTest_ImageBlitColor();
    61 SDL_Surface *SDLTest_ImageBlitColor();