Diffusion KWin b1e258d1e933

Remove useless branching on EGL/GLX in GLPlatform

Authored by graesslin on Nov 22 2016, 6:44 AM.

Description

Remove useless branching on EGL/GLX in GLPlatform

Summary:
The code for EGL and GLX platform did the same checks, just with the
difference that the EGL check has another check for isGLES.

So let's just do the branching on whether isGLES or GL.

Reviewers: KWin, Plasma

Subscribers: plasma-devel, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D3446

Details