mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
wined3d: Allow the inclusion of the wined3d headers when the ddraw headers are included.
This commit is contained in:
parent
cf4b91f074
commit
0c5a0f244d
2 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue