Author: gbrunmar
Date: Thu Feb 7 00:22:23 2008
New Revision: 32172
URL:
http://svn.reactos.org/svn/reactos?rev=32172&view=rev
Log:
* Fixed compiling of the native d3d9.dll
* Packed structures in d3d9types.h correctly to be compatible with Windows
Modified:
trunk/reactos/include/psdk/d3d9.h
trunk/reactos/include/psdk/d3d9types.h
Modified: trunk/reactos/include/psdk/d3d9.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/d3d9.h?rev=32…
==============================================================================
--- trunk/reactos/include/psdk/d3d9.h (original)
+++ trunk/reactos/include/psdk/d3d9.h Thu Feb 7 00:22:23 2008
@@ -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
Modified: trunk/reactos/include/psdk/d3d9types.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/d3d9types.h?r…
==============================================================================
--- trunk/reactos/include/psdk/d3d9types.h (original)
+++ trunk/reactos/include/psdk/d3d9types.h Thu Feb 7 00:22:23 2008
@@ -20,6 +20,8 @@
#ifndef __WINE_D3D9TYPES_H
#define __WINE_D3D9TYPES_H
+
+#pragma pack(push, 4)
/*****************************************************************************
* Direct 3D v9 #defines
@@ -1531,4 +1533,6 @@
UINT Depth;
} D3DVOLUME_DESC;
+#pragma pack(pop)
+
#endif /* __WINE_D3D9TYPES_H */