Commit c4c03e25 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.

(cherry picked from commit 1626d7a5)
parent 2a08b3ce
......@@ -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;
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