platforms/drm: set draw buffer for gbm
This commit is contained in:
parent
dc56b03df4
commit
d257850bd1
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue