mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
fix SDL build (nw)
This commit is contained in:
parent
4e95c1096f
commit
ca932a6d3d
1 changed files with 3 additions and 3 deletions
|
@ -41,9 +41,9 @@
|
|||
#define DEST_NAME(name) name ## _32bpp
|
||||
#define TEXSRC_TYPE UINT32
|
||||
#define TEXSRC_TO_DEST(src) \
|
||||
(texsource->palette[0x200 + src.r()] | \
|
||||
texsource->palette[0x100 + src.g()] | \
|
||||
texsource->palette[src.b()] | 0xff000000)
|
||||
(texsource->palette[0x200 + (((src) >> 16) & 0xff) ] | \
|
||||
texsource->palette[0x100 + (((src) >> 8) & 0xff) ] | \
|
||||
texsource->palette[((src) & 0xff) ] | 0xff000000)
|
||||
#define FUNC_NAME(name) name ## _rgb32_paletted
|
||||
#elif SDL_TEXFORMAT == SDL_TEXFORMAT_PALETTE16
|
||||
#define DEST_TYPE UINT32
|
||||
|
|
Loading…
Reference in a new issue