Skip to content

Commit 6232d02

Browse files
committed
Merge remote-tracking branch 'origin/5.7.1' into 5.7
Change-Id: Iec696e265a70a2aed6e58908e8048a126fa77515
2 parents 6766290 + 9cc97f0 commit 6232d02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/core/gl_surface_qt.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,8 @@ bool GLSurfaceQtEGL::InitializeOneOff()
365365
LOG(ERROR) << "eglInitialize failed with error " << GetLastEGLErrorString();
366366
return false;
367367
}
368-
368+
#if 0
369+
// QTBUG-57290
369370
g_egl_surfaceless_context_supported = ExtensionsContain(g_extensions, "EGL_KHR_surfaceless_context");
370371
if (g_egl_surfaceless_context_supported) {
371372
scoped_refptr<GLSurface> surface = new GLSurfacelessQtEGL(Size(1, 1));
@@ -382,7 +383,7 @@ bool GLSurfaceQtEGL::InitializeOneOff()
382383
context->ReleaseCurrent(surface.get());
383384
}
384385
}
385-
386+
#endif
386387
initialized = true;
387388
return true;
388389
}

0 commit comments

Comments
 (0)