summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2005-05-16 05:55:17 +0000
committerSam Lantinga <slouken@libsdl.org>2005-05-16 05:55:17 +0000
commitfd3a81873961dbd37eba80cadb3375a3dc91950d (patch)
tree4d8b828ecea422ded14d93392bb581f69e2f034b /src/video
parent8a68142a9253a511f45dc399b9c2311422a5d32b (diff)
Eh, more correct.
Diffstat (limited to 'src/video')
-rw-r--r--src/video/SDL_blit_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/SDL_blit_0.c b/src/video/SDL_blit_0.c
index 85e0ee15ae..34d2e143bc 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;
}