[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
This commit is contained in:
Martin Flöser 2017-06-27 07:01:38 +02:00
parent adceb9c0c9
commit be89c16b38

View file

@ -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
};