diff src/video/SDL_bmp.c @ 1706:1577404809f0 SDL-1.3

Added a multi-window version of testsprite using the new API.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 24 Jun 2006 16:51:01 +0000
parents 396a35389351
children
line wrap: on
line diff
--- a/src/video/SDL_bmp.c	Sat Jun 24 04:31:42 2006 +0000
+++ b/src/video/SDL_bmp.c	Sat Jun 24 16:51:01 2006 +0000
@@ -232,7 +232,6 @@
                 SDL_RWread(src, &palette->colors[i].unused, 1, 1);
             }
         }
-        palette->ncolors = biClrUsed;
     }
 
     /* Read the surface pixels.  Note that the bmp image is upside down */