Changeset 5415 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Oct 21, 2005, 10:07:57 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r5406 r5415 117 117 // looking if we are in fullscreen-mode 118 118 const char* fullscreen = iniParser->getVar(CONFIG_NAME_FULLSCREEN, CONFIG_SECTION_VIDEO, "0"); 119 if (strchr(fullscreen, '1') || strcase str(fullscreen, "true"))119 if (strchr(fullscreen, '1') || strcasecmp(fullscreen, "true")) 120 120 this->fullscreenFlag = SDL_FULLSCREEN; 121 121 122 122 // looking if we are in fullscreen-mode 123 123 const char* textures = iniParser->getVar(CONFIG_NAME_TEXTURES, CONFIG_SECTION_VIDEO_ADVANCED, "0"); 124 if (strchr(textures, '1') || strcase str(textures, "true"))124 if (strchr(textures, '1') || strcasecmp(textures, "true")) 125 125 this->texturesEnabled = true; 126 126 else
Note: See TracChangeset
for help on using the changeset viewer.