[patch] VIDMEM_ISDISABLED is the wrong macro name

Ozkan Sezer sezeroz at gmail.com
Wed Aug 4 04:53:55 CDT 2010


Hi  Acc. to MSDN: http://msdn.microsoft.com/en-us/library/ff570171(VS.85).aspx
... VIDMEM_ISDISABLED is the wrong macro name, should be VIDMEM_HEAPDISABLED
Suggesting the following patch.

--- ddrawi.h~
+++ ddrawi.h
@@ -167,7 +167,7 @@ typedef struct _VIDMEM {
 #define VIDMEM_ISHEAP		0x00000004
 #define VIDMEM_ISNONLOCAL	0x00000008
 #define VIDMEM_ISWC		0x00000010
-#define VIDMEM_ISDISABLED	0x00000020
+#define VIDMEM_HEAPDISABLED	0x00000020

 typedef struct _VIDMEMINFO {
     FLATPTR		fpPrimary;

Regards.

--
Ozkan



More information about the wine-patches mailing list