Commit 0c5a0f24 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Allow the inclusion of the wined3d headers when the ddraw headers are included.

parent cf4b91f0
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
# error You must include config.h to use this header # error You must include config.h to use this header
#endif #endif
#if !defined( __WINE_D3D8_H ) && !defined( __WINE_D3D9_H ) #if !defined( __WINE_D3D_H ) && !defined( __WINE_D3D8_H ) && !defined( __WINE_D3D9_H )
# error You must include d3d8.h or d3d9.h header to use this header # error You must include d3d.h, d3d8.h or d3d9.h header to use this header
#endif #endif
#include "wined3d_types.h" #include "wined3d_types.h"
......
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
#define __WINE_WINED3D_TYPES_H #define __WINE_WINED3D_TYPES_H
/* TODO: remove the dependency on d3d9 or d3d8 */ /* TODO: remove the dependency on d3d9 or d3d8 */
#if !defined( __WINE_D3D8_H ) && !defined( __WINE_D3D9_H ) #if !defined( __WINE_D3D_H ) && !defined( __WINE_D3D8_H ) && !defined( __WINE_D3D9_H )
# error You must include d3d8.h or d3d9.h header to use this header # error You must include d3d.h, d3d8.h or d3d9.h header to use this header
#endif #endif
#define WINED3D_VSHADER_MAX_CONSTANTS 96 #define WINED3D_VSHADER_MAX_CONSTANTS 96
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment