From f21c13c64e7328ec9e55b3db0ba904a2445ef6b2 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 16 May 2005 05:55:17 +0000 Subject: [PATCH] Eh, more correct. --- src/video/SDL_blit_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_blit_0.c b/src/video/SDL_blit_0.c index 85e0ee15a..34d2e143b 100644 --- a/src/video/SDL_blit_0.c +++ b/src/video/SDL_blit_0.c @@ -452,7 +452,7 @@ SDL_loblit SDL_CalculateBlit0(SDL_Surface *surface, int blit_index) { int which; - if ( surface->format->BitsPerPixel > 1 ) { + if ( surface->format->BitsPerPixel != 1 ) { /* We don't support sub 8-bit packed pixel modes */ return NULL; }