diff src/video/SDL_surface.c @ 2853:6258fa7cd300

Fixed picking blit function when RLE fails
author Sam Lantinga <slouken@libsdl.org>
date Sun, 07 Dec 2008 22:37:40 +0000
parents 4dba7aa7ea77
children 99210400e8b9
line wrap: on
line diff
--- a/src/video/SDL_surface.c	Sun Dec 07 22:29:58 2008 +0000
+++ b/src/video/SDL_surface.c	Sun Dec 07 22:37:40 2008 +0000
@@ -548,7 +548,7 @@
         return 0;
     }
 
-    switch (surface->map->info.flags & (SDL_COPY_NEAREST)) {
+    switch (surface->map->info.flags & SDL_COPY_NEAREST) {
     case SDL_COPY_NEAREST:
         *scaleMode = SDL_TEXTURESCALEMODE_FAST;
         break;