Commit 0b7778f9 authored by David Edmundson's avatar David Edmundson
Browse files

[plugins/qpa] Add explanatory comment

parent 6ebfa593
......@@ -50,6 +50,8 @@ bool SharingPlatformContext::makeCurrent(QPlatformSurface *surface)
Window *window = static_cast<Window*>(surface);
// QOpenGLContext::makeCurrent in Qt5.12 calls platfrom->setContext before setCurrentContext
// but binding the content FBO looks up the format from the current context, so we need // to make sure sure Qt knows what the correct one is already
if (eglMakeCurrent(eglDisplay(), m_surface, m_surface, eglContext())) {
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