Added a test to check the read/write pixels API

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404306
This commit is contained in:
Sam Lantinga 2009-12-14 06:35:59 +00:00
parent 9ea9c7518d
commit c2767e72dd
2 changed files with 29 additions and 1 deletions

View file

@ -82,7 +82,6 @@ int surface_compare( SDL_Surface *sur, const SurfaceImage_t *img, int allowable_
bpp = sur->format->BytesPerPixel;
/* Compare image - should be same format. */
if (bpp == 4) {
for (j=0; j<sur->h; j++) {
for (i=0; i<sur->w; i++) {