From be89c16b3884cbf96049d7c2749b90211af482ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Fl=C3=B6ser?= Date: Tue, 27 Jun 2017 07:01:38 +0200 Subject: [PATCH] [platforms/x11] Request OpenGL 2.1 instead of 1.2 Summary: Mismatch in the major/minor version. Requesting 1.2 doesn't make any sense given that KWin requires 2.1. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D6401 --- plugins/platforms/x11/standalone/glxbackend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/platforms/x11/standalone/glxbackend.cpp b/plugins/platforms/x11/standalone/glxbackend.cpp index 8f7836ecc9..501f7b0ca2 100644 --- a/plugins/platforms/x11/standalone/glxbackend.cpp +++ b/plugins/platforms/x11/standalone/glxbackend.cpp @@ -334,8 +334,8 @@ bool GlxBackend::initRenderingContext() }; const int attribs_legacy[] = { - GLX_CONTEXT_MAJOR_VERSION_ARB, 1, - GLX_CONTEXT_MINOR_VERSION_ARB, 2, + GLX_CONTEXT_MAJOR_VERSION_ARB, 2, + GLX_CONTEXT_MINOR_VERSION_ARB, 1, 0 };