projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ec31aa
)
changed pixel format check to ignore alpha channel
author
Holger Schemel
<info@artsoft.org>
Mon, 27 Jun 2016 05:15:57 +0000
(07:15 +0200)
committer
Holger Schemel
<info@artsoft.org>
Mon, 27 Jun 2016 05:15:57 +0000
(07:15 +0200)
src/libgame/sdl.c
patch
|
blob
|
history
diff --git
a/src/libgame/sdl.c
b/src/libgame/sdl.c
index 9b44b372a0965fb73e3d9c7e422812f21ae7161a..73c42b68c023d0e57b72ce967e3935ceee5ac7be 100644
(file)
--- 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)