From: Holger Schemel Date: Mon, 27 Jun 2016 05:15:57 +0000 (+0200) Subject: changed pixel format check to ignore alpha channel X-Git-Tag: 4.0.0.0~65 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=08014b146ae1a0de9fdd299ef2e8ac49519cc83d;p=rocksndiamonds.git changed pixel format check to ignore alpha channel --- diff --git a/src/libgame/sdl.c b/src/libgame/sdl.c index 9b44b372..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)