Changeset 88 for osgVisual/src/core
- Timestamp:
- Jul 29, 2010, 8:39:55 AM (14 years ago)
- Location:
- osgVisual/src/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/core/osgVisual.cpp
r87 r88 26 26 #endif 27 27 28 28 29 //#include <windows.h> 29 30 … … 42 43 #ifdef _DEBUG 43 44 #ifdef WIN32 44 #include <leakDetection.h> // ugly but must be included inside the class 45 45 #include <leakDetection.h> // for main: must be inside function. In classes: headerfile inside calss is sufficient 46 46 int tmp_flag; 47 47 … … 55 55 _CRTDBG_MODE_DEBUG); 56 56 57 // output to the file if not under VS57 // output to the file 58 58 _CrtSetReportFile(_CRT_ASSERT, log_file); 59 59 _CrtSetReportFile(_CRT_WARN, log_file); -
osgVisual/src/core/visual_core.cpp
r87 r88 23 23 { 24 24 OSG_NOTIFY( osg::ALWAYS ) << "visual_core instantiated." << std::endl; 25 #include <leakDetection.h>26 25 } 27 26 … … 49 48 50 49 // Test memory leak (todo) 51 //double* test = new double[1000];50 double* test = new double[1000]; 52 51 53 52 #ifdef USE_SPACENAVIGATOR
Note: See TracChangeset
for help on using the changeset viewer.