Commit 1626d7a5 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

platforms/drm: only use glDrawBuffer with desktop GL

That function is not available with GLES, and calling it is only necessary
for NVidia.
parent a7b833f3
......@@ -359,7 +359,9 @@ bool EglGbmBackend::makeContextCurrent(const Output::RenderData &render) const
qCCritical(KWIN_DRM) << "eglMakeCurrent failed:" << getEglErrorString();
return false;
if (!GLPlatform::instance()->isGLES()) {
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