Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2013-07-09 05:34:23 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-07-09 05:34:23 +0400
commitb73793f6369c142f1316791712b59aece8c169e7 (patch)
tree79e333e3310bb182df4c9935fc140c881e027322 /source/gameengine/GamePlayer/common/GPC_Canvas.h
parent60812e0260c40c286c9373f48f7ccdf721a0c9ee (diff)
BGE cleanup: removing some unused code from GPC_Canvas.
Diffstat (limited to 'source/gameengine/GamePlayer/common/GPC_Canvas.h')
-rw-r--r--source/gameengine/GamePlayer/common/GPC_Canvas.h33
1 files changed, 1 insertions, 32 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_Canvas.h b/source/gameengine/GamePlayer/common/GPC_Canvas.h
index 4b03f76c6cc..bd50066a212 100644
--- a/source/gameengine/GamePlayer/common/GPC_Canvas.h
+++ b/source/gameengine/GamePlayer/common/GPC_Canvas.h
@@ -114,7 +114,7 @@ public:
*/
void
EndFrame(
- );
+ ) {};
void SetViewPort(int x1, int y1, int x2, int y2);
void UpdateViewPort(int x1, int y1, int x2, int y2);
@@ -140,37 +140,6 @@ public:
virtual void MakeScreenShot(const char* filename);
void ClearBuffer(int type);
-
-protected:
-
- struct CanvasRenderState {
- int oldLighting;
- int oldDepthTest;
- int oldFog;
- int oldTexture2D;
- int oldBlend;
- int oldBlendSrc;
- int oldBlendDst;
- float oldColor[4];
- int oldWriteMask;
- };
-
- void
- PushRenderState(
- CanvasRenderState & render_state
- );
- void
- PopRenderState(
- const CanvasRenderState & render_state
- );
-
- /**
- * Set up an orthogonal viewing,model and texture matrix
- * for banners and progress bars.
- */
- void
- SetOrthoProjection(
- );
};
#endif /* __GPC_CANVAS_H__ */