ddraw: Add MAKEFOURCC to ddraw.h.
This commit is contained in:
parent
cfb6b282d8
commit
2043b06aa4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue