![]() |
set color depth for QGLWidget
I am porting a game from iPhone to maemo using Qt.
The game is rendered in a fullscreen QGLWidget. using the windowstate " Qt::WindowFullScreen". It provides a good framerate, but I did notice that by default a 16 bit color depth is used. I know that Maemo desktop uses 16 bit color depth, but the game is fullscreen and I hope to re-set the rendering mode to 32bit when the game starts. Using 16 bit precision causes some horrible banding effects because I use a lot of transparency effects . Is it possible to re-set the color depth to 32bit using a QGLwidget? I saw a very simple OpenGL example in the wiki that at least tries to set the color depth to 32bit. (but don't know for sure if running the program actually uses 32bit ). http://wiki.maemo.org/SimpleGL_example |
All times are GMT. The time now is 13:02. |
vBulletin® Version 3.8.8