diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2010-11-24 09:27:07 +0300 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2010-11-24 09:27:07 +0300 |
commit | 32eba0898b8df5ed40db38e6b41884190e8e45e0 (patch) | |
tree | 94afd204e0084514bbdf996700cc542513237f5f /source/gameengine/Ketsji/KX_KetsjiEngine.cpp | |
parent | c790b2c238691b5688866244f2372535e51061a1 (diff) |
Reverting revision 33120, which added vram monitoring. The method used had some problems (especially in the freeing function). I will research an alternative solution and submit it to the tracker.
Diffstat (limited to 'source/gameengine/Ketsji/KX_KetsjiEngine.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_KetsjiEngine.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp index fc43c03df31..a1c7957dc72 100644 --- a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp +++ b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp @@ -75,8 +75,6 @@ #include "DNA_world_types.h" #include "DNA_scene_types.h" -#include "GPU_extensions.h" - // If define: little test for Nzc: guarded drawing. If the canvas is // not valid, skip rendering this frame. //#define NZC_GUARDED_OUTPUT @@ -1441,18 +1439,6 @@ void KX_KetsjiEngine::RenderDebugProperties() m_canvas->GetHeight()); ycoord += 14; } - - // Put an extra gap in the printed results - ycoord += 14; - - /* Print texture vram usage */ - debugtxt.Format("Texture VRAM: %.2f MB", GPU_texture_vram_usage()/1048576.f); - m_rendertools->RenderText2D(RAS_IRenderTools::RAS_TEXT_PADDED, - debugtxt.Ptr(), - xcoord, ycoord, - m_canvas->GetWidth(), - m_canvas->GetHeight()); - ycoord += 14; } /* Property display*/ |