diff options
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfsscreen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsscreen.cpp b/src/plugins/platforms/eglfs/qeglfsscreen.cpp index 4f83e3a5ad..abbe0d951f 100644 --- a/src/plugins/platforms/eglfs/qeglfsscreen.cpp +++ b/src/plugins/platforms/eglfs/qeglfsscreen.cpp @@ -163,7 +163,8 @@ void QEglFSScreen::createAndSetPlatformContext() m_depth = 16; m_format = QImage::Format_RGB16; } else { - platformFormat.setDepthBufferSize(32); + platformFormat.setDepthBufferSize(24); + platformFormat.setStencilBufferSize(8); platformFormat.setRedBufferSize(8); platformFormat.setGreenBufferSize(8); platformFormat.setBlueBufferSize(8); |