Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4835 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Jul 12, 2005, 12:23:12 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: resolution is loaded again. This time for real

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/graphics_engine.cc

    r4834 r4835  
    9494
    9595  // searching for a usefull resolution
    96 //  SubString resolution(iniParser->getVar(CONFIG_NAME_RESOLUTION, CONFIG_SECTION_VIDEO, "640x480"), 'x');
     96  SubString resolution(iniParser->getVar(CONFIG_NAME_RESOLUTION, CONFIG_SECTION_VIDEO, "640x480"), 'x');
    9797  //resolution.debug();
    9898
    99   //this->initVideo(atoi(resolution.getString(0)), atoi(resolution.getString(1)), 16);
    100   this->initVideo(640,480,16);
     99  this->initVideo(atoi(resolution.getString(0)), atoi(resolution.getString(1)), 16);
    101100}
    102101
Note: See TracChangeset for help on using the changeset viewer.