ddraw: Add MAKEFOURCC to ddraw.h.

oldstable
Stefan Dösinger 2006-04-08 19:15:03 +02:00 committed by Alexandre Julliard
parent cfb6b282d8
commit 2043b06aa4
1 changed files with 4 additions and 0 deletions

View File

@ -761,6 +761,10 @@ typedef struct _DDPIXELFORMAT {
/* 20: next structure */
} DDPIXELFORMAT,*LPDDPIXELFORMAT;
#define MAKEFOURCC(ch0, ch1, ch2, ch3) \
((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \
((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
/* DDCAPS.dwFXCaps */
#define DDFXCAPS_BLTALPHA 0x00000001
#define DDFXCAPS_OVERLAYALPHA 0x00000004