changeset 1058:e6c91fd1911e

Eh, more correct.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 16 May 2005 05:55:17 +0000
parents e9d23bb80140
children de22ea8440d2
files src/video/SDL_blit_0.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_blit_0.c	Mon May 16 05:34:58 2005 +0000
+++ b/src/video/SDL_blit_0.c	Mon May 16 05:55:17 2005 +0000
@@ -452,7 +452,7 @@
 {
 	int which;
 
-	if ( surface->format->BitsPerPixel > 1 ) {
+	if ( surface->format->BitsPerPixel != 1 ) {
 		/* We don't support sub 8-bit packed pixel modes */
 		return NULL;
 	}