aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/sdl_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sdl_image.c b/tests/sdl_image.c
index 1efed88c..d934f863 100644
--- a/tests/sdl_image.c
+++ b/tests/sdl_image.c
@@ -16,6 +16,7 @@ int main() {
}
assert(image->format->BitsPerPixel == 32);
assert(image->format->BytesPerPixel == 4);
+ assert(image->pitch == 4*image->w);
SDL_BlitSurface (image, NULL, screen, NULL);
SDL_FreeSurface (image);