Add surface test suite; minor improvements to render suite; refactor image saving into test lib compare function; fix for Haiku build

This commit is contained in:
Andreas Schiffler 2012-12-26 22:26:44 -08:00
parent d9a9083464
commit 9ddb1f459d
6 changed files with 636 additions and 61 deletions

View file

@ -53,7 +53,7 @@ typedef struct SDLTest_SurfaceImage_s {
int width;
int height;
unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */
const unsigned char pixel_data[];
unsigned char pixel_data[];
} SDLTest_SurfaceImage_t;
/* Test images */