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

This commit is contained in:
Stefan Dösinger 2006-04-07 13:25:45 +02:00 committed by Alexandre Julliard
parent cf4b91f074
commit 0c5a0f244d
2 changed files with 4 additions and 4 deletions

View file

@ -27,8 +27,8 @@
# error You must include config.h to use this header
#endif
#if !defined( __WINE_D3D8_H ) && !defined( __WINE_D3D9_H )
# error You must include d3d8.h or d3d9.h header to use this header
#if !defined( __WINE_D3D_H ) && !defined( __WINE_D3D8_H ) && !defined( __WINE_D3D9_H )
# error You must include d3d.h, d3d8.h or d3d9.h header to use this header
#endif
#include "wined3d_types.h"

View file

@ -26,8 +26,8 @@
#define __WINE_WINED3D_TYPES_H
/* TODO: remove the dependency on d3d9 or d3d8 */
#if !defined( __WINE_D3D8_H ) && !defined( __WINE_D3D9_H )
# error You must include d3d8.h or d3d9.h header to use this header
#if !defined( __WINE_D3D_H ) && !defined( __WINE_D3D8_H ) && !defined( __WINE_D3D9_H )
# error You must include d3d.h, d3d8.h or d3d9.h header to use this header
#endif
#define WINED3D_VSHADER_MAX_CONSTANTS 96