include/SDL_test_images.h
changeset 6776 2a66a4c817bf
parent 6773 5ebc5a9e35b4
child 6777 05fc995591ee
equal deleted inserted replaced
6775:ca20a61fe03b 6776:2a66a4c817bf
    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   unsigned char pixel_data[];
    56   unsigned char pixel_data[0];
    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();