Mercurial > sdl-ios-xcode
diff src/SDL_compat.c @ 1716:6ab5e712e642 SDL-1.3
The screen/shadow surface flags are no longer needed
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 26 Jun 2006 20:32:54 +0000 |
parents | 931d111e737a |
children | a1ebb17f9c52 |
line wrap: on
line diff
--- a/src/SDL_compat.c Mon Jun 26 16:21:06 2006 +0000 +++ b/src/SDL_compat.c Mon Jun 26 20:32:54 2006 +0000 @@ -306,7 +306,7 @@ } window_flags = SDL_GetWindowFlags(SDL_VideoWindow); - surface_flags = SDL_SCREEN_SURFACE; + surface_flags = 0; if (window_flags & SDL_WINDOW_FULLSCREEN) { surface_flags |= SDL_FULLSCREEN; } @@ -448,8 +448,6 @@ if (!SDL_ShadowSurface) { return NULL; } - surface_flags &= ~SDL_SCREEN_SURFACE; - surface_flags |= SDL_SHADOW_SURFACE; SDL_ShadowSurface->flags |= surface_flags; /* 8-bit SDL_ShadowSurface surfaces report that they have exclusive palette */