Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 151 vs 152 for /trunk/Source Code/Graphs/Headers/SceneNodeRenderState.h

Diff revisions: vs.
  @@ -1,7 +1,7 @@
1 1 #ifndef _SCENE_NODE_RENDER_STATE_H_
2 2 #define _SCENE_NODE_RENDER_STATE_H_
3 3
4 - #include "core.h"
4 + #define NULL 0
5 5 #include "Hardware/Video/Headers/RenderStateBlock.h"
6 6
7 7 class SceneNodeRenderState {
  @@ -15,15 +15,12 @@
15 15 {
16 16 }
17 17
18 - ~SceneNodeRenderState()
19 - {
20 - SAFE_DELETE(_depthStateBlock);
21 - }
18 + ~SceneNodeRenderState();
22 19
23 20 inline void useDefaultMaterial(bool state) {_noDefaultMaterial = !state;}
24 21 inline void setDrawState(bool state) {_drawState = state;}
25 - bool getDrawState() const {return _drawState;}
26 - bool getDrawState(RenderStage currentStage) const;
22 + bool getDrawState() const {return _drawState;}
23 + bool getDrawState(const RenderStage& currentStage) const;
27 24 void addToDrawExclusionMask(I32 stageMask);
28 25 void removeFromDrawExclusionMask(I32 stageMask);
29 26 RenderStateBlock* getDepthStateBlock();