diff src/video/SDL_blit.c @ 2329:c1a390f6a819

ran make indent
author Bob Pendleton <bob@pendleton.com>
date Fri, 14 Mar 2008 20:43:44 +0000
parents 91e601d9df8b
children 5eb95b8adc1a
line wrap: on
line diff
--- a/src/video/SDL_blit.c	Fri Mar 14 18:17:49 2008 +0000
+++ b/src/video/SDL_blit.c	Fri Mar 14 20:43:44 2008 +0000
@@ -230,6 +230,7 @@
     /* See if we can do RLE acceleration */
     if (surface->map->info.flags & SDL_COPY_RLE_DESIRED) {
         if (SDL_RLESurface(surface) == 0) {
+            surface->map->info.flags &= ~SDL_COPY_RLE_DESIRED;
             return 0;
         }
     }
@@ -260,7 +261,7 @@
                                        surface->format->Amask);
         Uint32 dst_format =
             SDL_MasksToPixelFormatEnum(dst->format->BitsPerPixel,
-                                       dst->format->Rmask, 
+                                       dst->format->Rmask,
                                        dst->format->Gmask,
                                        dst->format->Bmask,
                                        dst->format->Amask);