Reverting revision 33120, which added vram monitoring. The method used had some probl...
[blender-staging.git] / source / gameengine / Ketsji / KX_KetsjiEngine.cpp
index fc43c03df31bf8894265476c1c9e9d07b1e2c638..a1c7957dc720c46c863b1f7f5462fc024e47a49a 100644 (file)
@@ -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*/