Changeset 87 for osgVisual/include/core


Ignore:
Timestamp:
Jul 28, 2010, 5:13:22 PM (14 years ago)
Author:
Torben Dannhauer
Message:

Introductes VS 2008 Memory Leak Debugging.
Todo: Compile on Linux and compare with Valgrind, VS 2008 seems to be awkward in leak debugging

Location:
osgVisual/include/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/include/core/leakDetection.h

    r86 r87  
    2121
    2222#ifdef _DEBUG
    23         #ifndef DBG_NEW
    24                 #define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
    25                 #define new DBG_NEW
     23        #ifdef WIN32
     24                #ifndef DBG_NEW
     25                        #define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
     26                        #define new DBG_NEW
     27                #endif
    2628        #endif
    2729#endif
  • osgVisual/include/core/visual_core.h

    r67 r87  
    160160
    161161        osg::ref_ptr<osgGA::NodeTrackerManipulator> nt;
     162
     163        osg::ref_ptr<visual_debug_hud> hud;
    162164};
    163165
Note: See TracChangeset for help on using the changeset viewer.