Reduced object size of D3D drivers when compiling without d3d support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@677 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
60e4d62143
commit
563d1c1259
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
#include "IrrCompileConfig.h"
|
#include "IrrCompileConfig.h"
|
||||||
|
|
||||||
|
#ifdef _IRR_COMPILE_WITH_DIRECT3D_8_
|
||||||
|
|
||||||
#ifdef _IRR_WINDOWS_
|
#ifdef _IRR_WINDOWS_
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
@ -20,8 +22,6 @@
|
||||||
#include "CNullDriver.h"
|
#include "CNullDriver.h"
|
||||||
#include "IMaterialRendererServices.h"
|
#include "IMaterialRendererServices.h"
|
||||||
|
|
||||||
#ifdef _IRR_COMPILE_WITH_DIRECT3D_8_
|
|
||||||
|
|
||||||
#include <d3d8.h>
|
#include <d3d8.h>
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
|
|
|
@ -7,14 +7,15 @@
|
||||||
|
|
||||||
#include "IrrCompileConfig.h"
|
#include "IrrCompileConfig.h"
|
||||||
|
|
||||||
|
#ifdef _IRR_COMPILE_WITH_DIRECT3D_9_
|
||||||
|
|
||||||
#ifdef _IRR_WINDOWS_
|
#ifdef _IRR_WINDOWS_
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "CNullDriver.h"
|
|
||||||
#include "IMaterialRendererServices.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _IRR_COMPILE_WITH_DIRECT3D_9_
|
#include "CNullDriver.h"
|
||||||
|
#include "IMaterialRendererServices.h"
|
||||||
#include <d3d9.h>
|
#include <d3d9.h>
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
|
|
Loading…
Reference in New Issue