src/SDL_compat.c
branchSDL-1.3
changeset 1716 6ab5e712e642
parent 1712 931d111e737a
child 1720 a1ebb17f9c52
     1.1 --- a/src/SDL_compat.c	Mon Jun 26 16:21:06 2006 +0000
     1.2 +++ b/src/SDL_compat.c	Mon Jun 26 20:32:54 2006 +0000
     1.3 @@ -306,7 +306,7 @@
     1.4      }
     1.5  
     1.6      window_flags = SDL_GetWindowFlags(SDL_VideoWindow);
     1.7 -    surface_flags = SDL_SCREEN_SURFACE;
     1.8 +    surface_flags = 0;
     1.9      if (window_flags & SDL_WINDOW_FULLSCREEN) {
    1.10          surface_flags |= SDL_FULLSCREEN;
    1.11      }
    1.12 @@ -448,8 +448,6 @@
    1.13          if (!SDL_ShadowSurface) {
    1.14              return NULL;
    1.15          }
    1.16 -        surface_flags &= ~SDL_SCREEN_SURFACE;
    1.17 -        surface_flags |= SDL_SHADOW_SURFACE;
    1.18          SDL_ShadowSurface->flags |= surface_flags;
    1.19  
    1.20          /* 8-bit SDL_ShadowSurface surfaces report that they have exclusive palette */