* Fixed compiling of the native d3d9.dll
authorGregor Brunmar <gbrunmar.ros@gmail.com>
Wed, 6 Feb 2008 21:22:23 +0000 (21:22 +0000)
committerGregor Brunmar <gbrunmar.ros@gmail.com>
Wed, 6 Feb 2008 21:22:23 +0000 (21:22 +0000)
* Packed structures in d3d9types.h correctly to be compatible with Windows

svn path=/trunk/; revision=32172

reactos/include/psdk/d3d9.h
reactos/include/psdk/d3d9types.h

index 1247efd..0c49041 100644 (file)
@@ -66,6 +66,7 @@
 #endif
 
 #define D3DADAPTER_DEFAULT                      0
+#define D3DENUM_WHQL_LEVEL                      0x00000002L
 #define D3DENUM_NO_WHQL_LEVEL                   0x00000002L
 #define D3DPRESENT_BACK_BUFFERS_MAX             3L
 #define D3DSGR_NO_CALIBRATION                   0x00000000L
index 1d11343..cf46cb7 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef __WINE_D3D9TYPES_H
 #define __WINE_D3D9TYPES_H
 
+#pragma pack(push, 4)
+
 /*****************************************************************************
  * Direct 3D v9 #defines
  */
@@ -1531,4 +1533,6 @@ typedef struct _D3DVOLUME_DESC {
     UINT                Depth;
 } D3DVOLUME_DESC;
 
+#pragma pack(pop)
+
 #endif /* __WINE_D3D9TYPES_H */