- (re)enable setting of resolution
authorFelix Domke <tmbinc@elitedvb.net>
Wed, 27 Jul 2005 23:04:43 +0000 (23:04 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Wed, 27 Jul 2005 23:04:43 +0000 (23:04 +0000)
lib/gdi/fb.cpp

index fb0cc03..38ae37d 100644 (file)
@@ -83,8 +83,8 @@ int fbClass::showConsole(int state)
 
 int fbClass::SetMode(unsigned int nxRes, unsigned int nyRes, unsigned int nbpp)
 {
 
 int fbClass::SetMode(unsigned int nxRes, unsigned int nyRes, unsigned int nbpp)
 {
-/*     screeninfo.xres_virtual=screeninfo.xres=nxRes;
-       screeninfo.yres_virtual=screeninfo.yres=nyRes; */
+       screeninfo.xres_virtual=screeninfo.xres=nxRes;
+       screeninfo.yres_virtual=screeninfo.yres=nyRes;
        screeninfo.height=0;
        screeninfo.width=0;
        screeninfo.xoffset=screeninfo.yoffset=0;
        screeninfo.height=0;
        screeninfo.width=0;
        screeninfo.xoffset=screeninfo.yoffset=0;