aboutsummaryrefslogtreecommitdiff
path: root/lib/gdi/fb.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-04-12 19:45:46 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-04-12 19:45:46 +0000
commitc00bc7c512b270dc02917bc8e582c77a95180499 (patch)
tree6d4d4885dc9f0a8ea5658ce7dfc9606612105ee6 /lib/gdi/fb.cpp
parent557e3acb9904f0694b089f8d1548adf15dd592bc (diff)
downloadenigma2-c00bc7c512b270dc02917bc8e582c77a95180499.tar.gz
enigma2-c00bc7c512b270dc02917bc8e582c77a95180499.zip
add missing FBIOGET_VSCREENINFO
Diffstat (limited to 'lib/gdi/fb.cpp')
-rw-r--r--lib/gdi/fb.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gdi/fb.cpp b/lib/gdi/fb.cpp
index 727042dd..5d895901 100644
--- a/lib/gdi/fb.cpp
+++ b/lib/gdi/fb.cpp
@@ -111,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",