[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kwin] plugins/platforms/x11/standalone: [platforms/x11] Request OpenGL 2.1 instead of 1.2
From:       Martin_Flöser <null () kde ! org>
Date:       2017-07-01 6:22:06
Message-ID: E1dRBnC-0003pc-Mz () code ! kde ! org
[Download RAW message or body]

Git commit be89c16b3884cbf96049d7c2749b90211af482ea by Martin Flöser.
Committed on 01/07/2017 at 06:21.
Pushed by graesslin into branch 'master'.

[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

M  +2    -2    plugins/platforms/x11/standalone/glxbackend.cpp

https://commits.kde.org/kwin/be89c16b3884cbf96049d7c2749b90211af482ea

diff --git a/plugins/platforms/x11/standalone/glxbackend.cpp \
b/plugins/platforms/x11/standalone/glxbackend.cpp index 8f7836ecc..501f7b0ca 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
         };
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic