Commit be64d905 authored by Pasi Petäjäjärvi's avatar Pasi Petäjäjärvi Committed by Jani Heikkinen
Browse files

Set correct QSurfaceFormat also for raster surfacetype


Change-Id: Idd37942842dc59ae391b6b34308d4c01e7a25bc5
Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@digia.com>
Showing with 1 addition and 1 deletion
...@@ -103,7 +103,7 @@ void QEglFSWindow::create() ...@@ -103,7 +103,7 @@ void QEglFSWindow::create()
if (isRaster()) { if (isRaster()) {
QOpenGLContext *context = new QOpenGLContext(QGuiApplication::instance()); QOpenGLContext *context = new QOpenGLContext(QGuiApplication::instance());
context->setFormat(window()->requestedFormat()); context->setFormat(m_format);
context->setScreen(window()->screen()); context->setScreen(window()->screen());
if (!context->create()) if (!context->create())
qFatal("EGLFS: Failed to create compositing context"); qFatal("EGLFS: Failed to create compositing context");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment