remove debug
[enigma2.git] / lib / gdi / fb.cpp
index c8fd94be286567f4946825d69a5ed915bb20a278..5d8959011a3343d4d4258ceec6f5c83fb96812e0 100644 (file)
@@ -7,7 +7,6 @@
 #include <memory.h>
 #include <linux/kd.h>
 
-#include <lib/base/econfig.h>
 #include <lib/gdi/fb.h>
 
 #ifndef FBIO_WAITFORVSYNC
@@ -112,6 +111,8 @@ int fbClass::SetMode(unsigned int nxRes, unsigned int nyRes, unsigned int nbpp)
        
        m_number_of_pages = screeninfo.yres_virtual / nyRes;
        
+       ioctl(fd, FBIOGET_VSCREENINFO, &screeninfo);
+       
        if ((screeninfo.xres!=nxRes) && (screeninfo.yres!=nyRes) && (screeninfo.bits_per_pixel!=nbpp))
        {
                eDebug("SetMode failed: wanted: %dx%dx%d, got %dx%dx%d",