Set correct QSurfaceFormat also for raster surfacetype
Change-Id: Idd37942842dc59ae391b6b34308d4c01e7a25bc5 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
This commit is contained in:
parent
9afb02412e
commit
be64d905a0
@ -103,7 +103,7 @@ void QEglFSWindow::create()
|
||||
|
||||
if (isRaster()) {
|
||||
QOpenGLContext *context = new QOpenGLContext(QGuiApplication::instance());
|
||||
context->setFormat(window()->requestedFormat());
|
||||
context->setFormat(m_format);
|
||||
context->setScreen(window()->screen());
|
||||
if (!context->create())
|
||||
qFatal("EGLFS: Failed to create compositing context");
|
||||
|
Loading…
Reference in New Issue
Block a user