Commit 44c456cf authored by Xaver Hugl's avatar Xaver Hugl
Browse files

platforms/drm: set draw buffer for gbm

(cherry picked from commit d257850b)
parent aa8c9ffc
...@@ -365,6 +365,7 @@ bool EglGbmBackend::makeContextCurrent(const Output::RenderData &render) const ...@@ -365,6 +365,7 @@ bool EglGbmBackend::makeContextCurrent(const Output::RenderData &render) const
qCCritical(KWIN_DRM) << "eglMakeCurrent failed:" << getEglErrorString(); qCCritical(KWIN_DRM) << "eglMakeCurrent failed:" << getEglErrorString();
return false; return false;
} }
glDrawBuffer(GL_BACK);
return true; return true;
} }
......
Markdown is supported
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