From 2b49dd6e5f7098800a76456aa287dd14e130c0ad Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 18 Jan 2007 20:11:44 +0000 Subject: [PATCH] don't double-report texture mem usage in pstats --- panda/src/gobj/geomVertexArrayData.cxx | 2 +- panda/src/gobj/texture.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/gobj/geomVertexArrayData.cxx b/panda/src/gobj/geomVertexArrayData.cxx index 78a5698331..85586760a9 100644 --- a/panda/src/gobj/geomVertexArrayData.cxx +++ b/panda/src/gobj/geomVertexArrayData.cxx @@ -29,7 +29,7 @@ TypeHandle GeomVertexArrayData::CData::_type_handle; TypeHandle GeomVertexArrayDataPipelineReader::_type_handle; TypeHandle GeomVertexArrayDataPipelineWriter::_type_handle; -PT(PStatCollectorForward) GeomVertexArrayData::_vdata_mem_pcollector = new PStatCollectorForward(PStatCollector("Main memory:C++:Vertex Data")); +PT(PStatCollectorForward) GeomVertexArrayData::_vdata_mem_pcollector = new PStatCollectorForward(PStatCollector("Main memory:C++:pvector:array:Vertex Data")); //////////////////////////////////////////////////////////////////// // Function: GeomVertexArrayData::Default Constructor diff --git a/panda/src/gobj/texture.cxx b/panda/src/gobj/texture.cxx index ba7acf7303..be5d218ba3 100644 --- a/panda/src/gobj/texture.cxx +++ b/panda/src/gobj/texture.cxx @@ -40,7 +40,7 @@ #include -PT(PStatCollectorForward) Texture::_tex_mem_pcollector = new PStatCollectorForward(PStatCollector("Main memory:C++:Texture Data")); +PT(PStatCollectorForward) Texture::_tex_mem_pcollector = new PStatCollectorForward(PStatCollector("Main memory:C++:pvector:array:Texture Data")); TypeHandle Texture::_type_handle;