Ticket #135: WIN32Window_Log.diff
| File WIN32Window_Log.diff, 3.4 kB (added by cneumann, 2 years ago) |
|---|
-
Source/WindowSystem/WIN32/OSGWIN32Window.cpp
old new 100 100 void WIN32Window::dump( UInt32 , 101 101 const BitVector ) const 102 102 { 103 SLOG << "Dump WIN32Window NI" << std::endl;103 SLOG << "Dump WIN32Window NI" << endLog; 104 104 } 105 105 106 106 /*-------------------------- your_category---------------------------------*/ … … 117 117 118 118 if(getHglrc() == NULL) 119 119 { 120 std::cerr<< "WIN32Window::init: failed: "121 << GetLastError()122 << std::endl;120 SFATAL << "WIN32Window::init: failed: " 121 << GetLastError() 122 << endLog; 123 123 } 124 124 } 125 125 … … 136 136 137 137 if(!wglMakeCurrent(getHdc(), getHglrc() ) ) 138 138 { 139 std::cerr<< "WIN32Window::activate: failed: "140 << GetLastError()141 << std::endl;139 SFATAL << "WIN32Window::activate: failed: " 140 << GetLastError() 141 << endLog; 142 142 } 143 143 } 144 144 -
Source/WindowSystem/WIN32/testWindowMTWIN32.cpp
old new 300 300 301 301 if ( file == NullFC ) 302 302 { 303 std::cerr << "Couldn't load file, ignoring" << std::endl;303 SWARNING << "Couldn't load file, ignoring" << endLog; 304 304 file = makeTorus( .5, 2, 16, 16 ); 305 305 } 306 306 … … 309 309 Vec3f min,max; 310 310 file->getVolume().getBounds( min, max ); 311 311 312 std::cout << "Volume: from " << min << " to " << max << std::endl;312 SINFO << "Volume: from " << min << " to " << max << endLog; 313 313 314 314 beginEditCP(dlight); 315 315 dlight->addChild( file ); -
Source/WindowSystem/WIN32/testWindowWIN32.cpp
old new 298 298 299 299 if ( file == NullFC ) 300 300 { 301 std::cerr << "Couldn't load file, ignoring" << std::endl;301 SWARNING << "Couldn't load file, ignoring" << endLog; 302 302 file = makeTorus( .5, 2, 16, 16 ); 303 303 } 304 304 … … 307 307 Vec3f min,max; 308 308 file->getVolume().getBounds( min, max ); 309 309 310 std::cout << "Volume: from " << min << " to " << max << std::endl;310 SINFO << "Volume: from " << min << " to " << max << endLog; 311 311 312 312 beginEditCP(dlight); 313 313 dlight->addChild( file ); 314 314 endEditCP(dlight); 315 315 316 std::cerr << "Tree: " << std::endl;316 SINFO << "Tree: " << endLog; 317 317 root->dump(); 318 318 319 319 // Camera
