platforms/drm: set draw buffer for gbm

This commit is contained in:
Xaver Hugl 2021-10-15 00:27:06 +02:00
parent dc56b03df4
commit d257850bd1

View file

@ -365,6 +365,7 @@ bool EglGbmBackend::makeContextCurrent(const Output::RenderData &render) const
qCCritical(KWIN_DRM) << "eglMakeCurrent failed:" << getEglErrorString();
return false;
}
glDrawBuffer(GL_BACK);
return true;
}