Changeset 4094 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- May 6, 2005, 8:49:29 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/graphics_engine.cc
r3844 r4094 17 17 18 18 #include "graphics_engine.h" 19 #include "resource_manager.h" 19 20 20 21 #include "debug.h" … … 101 102 102 103 // TO DO: Create a cool icon and use it here 103 SDL_WM_SetIcon(SDL_LoadBMP("../data/pictures/orxonox-icon32x32.bmp"), NULL); 104 104 char* loadPic = new char[strlen(ResourceManager::getInstance()->getDataDir())+ 100]; 105 sprintf(loadPic, "%s%s", ResourceManager::getInstance()->getDataDir(), "pictures/orxonox-icon32x32.bmp"); 106 SDL_WM_SetIcon(SDL_LoadBMP(loadPic), NULL); 107 delete loadPic; 105 108 // Enable default GL stuff 106 109 glEnable(GL_DEPTH_TEST);
Note: See TracChangeset
for help on using the changeset viewer.