diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2013-07-09 05:34:23 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2013-07-09 05:34:23 +0400 |
commit | b73793f6369c142f1316791712b59aece8c169e7 (patch) | |
tree | 79e333e3310bb182df4c9935fc140c881e027322 /source/gameengine/GamePlayer/common/GPC_Canvas.h | |
parent | 60812e0260c40c286c9373f48f7ccdf721a0c9ee (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.h | 33 |
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__ */ |