summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfsscreen.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-08-05 11:58:51 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-08-05 11:58:51 (GMT)
commit261fa64d61111741a9746459eac4901248eb19d3 (patch)
tree34f750fd9b050f05c50ade853fc11e0d8e600197 /src/plugins/platforms/eglfs/qeglfsscreen.cpp
parent2144aece152bc34faff5b25632e808e96d523f48 (diff)
downloadQt-261fa64d61111741a9746459eac4901248eb19d3.zip
Qt-261fa64d61111741a9746459eac4901248eb19d3.tar.gz
Qt-261fa64d61111741a9746459eac4901248eb19d3.tar.bz2
Force 16 bit in eglfs
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsscreen.cpp')
-rw-r--r--src/plugins/platforms/eglfs/qeglfsscreen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.cpp b/src/plugins/platforms/eglfs/qeglfsscreen.cpp
index a390106..0d72862 100644
--- a/src/plugins/platforms/eglfs/qeglfsscreen.cpp
+++ b/src/plugins/platforms/eglfs/qeglfsscreen.cpp
@@ -116,9 +116,9 @@ QEglFSScreen::QEglFSScreen(EGLNativeDisplayType display)
QPlatformWindowFormat platformFormat;
platformFormat.setDepth(16);
platformFormat.setWindowApi(QPlatformWindowFormat::OpenGL);
- platformFormat.setRedBufferSize(8);
- platformFormat.setGreenBufferSize(8);
- platformFormat.setBlueBufferSize(8);
+ platformFormat.setRedBufferSize(5);
+ platformFormat.setGreenBufferSize(6);
+ platformFormat.setBlueBufferSize(5);
EGLConfig config = q_configFromQPlatformWindowFormat(m_dpy, platformFormat);
EGLNativeWindowType eglWindow = 0;