--- qtopia-opensource-src-4.3.2-snapshot-20080819/qtopiacore/qt/src/gui/embedded/qscreenlinuxfb_qws.cpp 2008-08-08 06:50:33.000000000 +0300
+++ qtopia-opensource-src-4.3.2-snapshot-20080820/qtopiacore/qt/src/gui/embedded/qscreenlinuxfb_qws.cpp 2008-08-21 20:59:55.000000000 +0300
@@ -315,7 +315,8 @@
}
grayscale = vinfo.grayscale;
- d = vinfo.bits_per_pixel;
+ //d = vinfo.bits_per_pixel;
+ d = 18;
if (d == 24)
d = vinfo.red.length + vinfo.green.length + vinfo.blue.length;
lstep=finfo.line_length;
@@ -637,6 +638,7 @@
qFatal("Error reading variable information in card init");
return false;
}
+ vinfo.bits_per_pixel=18;
#ifdef DEBUG_VINFO
qDebug("Greyscale %d",vinfo.grayscale);
@@ -1073,6 +1075,7 @@
void QLinuxFbScreen::setMode(int nw,int nh,int nd)
{
+ nd = 24;
if (d_ptr->fd == -1)
return;