git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
557e3ac
)
add missing FBIOGET_VSCREENINFO
author
Felix Domke
<tmbinc@elitedvb.net>
Thu, 12 Apr 2007 19:45:46 +0000
(19:45 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Thu, 12 Apr 2007 19:45:46 +0000
(19:45 +0000)
lib/gdi/fb.cpp
patch
|
blob
|
history
diff --git
a/lib/gdi/fb.cpp
b/lib/gdi/fb.cpp
index 727042dd81ada0693220fab894537a9df357208e..5d8959011a3343d4d4258ceec6f5c83fb96812e0 100644
(file)
--- 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",