fix compiling warings for d3d9 that I got local.

svn path=/trunk/; revision=30731
This commit is contained in:
Magnus Olsen 2007-11-25 12:08:36 +00:00
parent c6102fb959
commit 7a53ca4d32

View file

@ -191,9 +191,11 @@
#define D3DVERTEXTEXTURESAMPLER2 (D3DDMAPSAMPLER+3)
#define D3DVERTEXTEXTURESAMPLER3 (D3DDMAPSAMPLER+4)
#ifndef MAKEFOURCC
#define MAKEFOURCC(ch0, ch1, ch2, ch3) \
((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | \
((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
#endif
/* Constants used by D3DPRESENT_PARAMETERS. when creating a device or swapchain */