- Timestamp:
- Aug 28, 2010, 1:51:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/GraphicsManager.cc
r7219 r7236 66 66 { 67 67 static const std::string __CC_printScreen_name = "printScreen"; 68 _DeclareConsoleCommand(__CC_printScreen_name, &prototype::void__void);68 DeclareConsoleCommand(__CC_printScreen_name, &prototype::void__void); 69 69 70 70 class OgreWindowEventListener : public Ogre::WindowEventListener … … 134 134 135 135 Ogre::WindowEventUtilities::removeWindowEventListener(renderWindow_, ogreWindowEventListener_.get()); 136 _ModifyConsoleCommand(__CC_printScreen_name).resetFunction();136 ModifyConsoleCommand(__CC_printScreen_name).resetFunction(); 137 137 138 138 // Undeclare the resources … … 324 324 325 325 // add console commands 326 _ModifyConsoleCommand(__CC_printScreen_name).setFunction(&GraphicsManager::printScreen, this);326 ModifyConsoleCommand(__CC_printScreen_name).setFunction(&GraphicsManager::printScreen, this); 327 327 } 328 328
Note: See TracChangeset
for help on using the changeset viewer.