[PATCH] ddraw: Added define for DDSCAPS2_VOLUME

Travis Athougies iammisc at gmail.com
Thu Jun 23 20:55:17 CDT 2011


As per http://msdn.microsoft.com/en-us/library/bb943982%28v=vs.85%29.aspx

Needed for a potential DDS loader.

---
 include/ddraw.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/ddraw.h b/include/ddraw.h
index 3eef218..f6e69f2 100644
--- a/include/ddraw.h
+++ b/include/ddraw.h
@@ -365,6 +365,8 @@ typedef struct _DDSCAPS {
 #define DDSCAPS2_DONOTPERSIST           0x00040000
 /* indicates surface is part of a stereo flipping chain */
 #define DDSCAPS2_STEREOSURFACELEFT      0x00080000
+/* indicates surface is a volume texture */
+#define DDSCAPS2_VOLUME                 0x00200000
 
 typedef struct _DDSCAPS2 {
 	DWORD	dwCaps;	/* capabilities of surface wanted */
-- 
1.6.4.4




More information about the wine-patches mailing list