X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fsdl.c;h=73c42b68c023d0e57b72ce967e3935ceee5ac7be;hb=08014b146ae1a0de9fdd299ef2e8ac49519cc83d;hp=a860eeb9e988656a0d26ffbb46f2dd1f04ea346f;hpb=0c454763268d571be71d2c7a633f5bd855d0ad0b;p=rocksndiamonds.git diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index a860eeb9..73c42b68 100644 --- a/src/libgame/sdl.c +++ b/src/libgame/sdl.c @@ -223,8 +223,7 @@ static boolean equalSDLPixelFormat(SDL_PixelFormat *format1, format1->BytesPerPixel == format2->BytesPerPixel && format1->Rmask == format2->Rmask && format1->Gmask == format2->Gmask && - format1->Bmask == format2->Bmask && - format1->Amask == format2->Amask); + format1->Bmask == format2->Bmask); } boolean SDLSetNativeSurface(SDL_Surface **surface) @@ -431,7 +430,7 @@ void SDLInitVideoBuffer(boolean fullscreen) should never be drawn to directly, it would do no harm nevertheless. */ /* create additional (symbolic) buffer for double-buffering */ - ReCreateBitmap(&window, video.width, video.height, video.depth); + ReCreateBitmap(&window, video.width, video.height); } static boolean SDLCreateScreen(boolean fullscreen)