Commit 2043b06a authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

ddraw: Add MAKEFOURCC to ddraw.h.

parent cfb6b282
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment