D6464: Prevent endless loop in checkGLError due to GL_CONTEXT_LOST

2017-07-03 Thread Martin Flöser
This revision was automatically updated to reflect the committed changes. Closed by commit R108:aefb5f4dd9d4: Prevent endless loop in checkGLError due to GL_CONTEXT_LOST (authored by graesslin). REPOSITORY R108 KWin CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D6464?vs=16088&id=1613

D6464: Prevent endless loop in checkGLError due to GL_CONTEXT_LOST

2017-07-02 Thread David Edmundson
davidedmundson accepted this revision. This revision is now accepted and ready to land. REPOSITORY R108 KWin BRANCH check-context-lost REVISION DETAIL https://phabricator.kde.org/D6464 To: graesslin, #kwin, #plasma, davidedmundson Cc: rikmills, plasma-devel, kwin, ZrenBot, progwolff, lesl

D6464: Prevent endless loop in checkGLError due to GL_CONTEXT_LOST

2017-07-01 Thread Martin Flöser
graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel. REVISION SUMMARY The GL_CONTEXT_LOST flag is not reset when calling glGetError. This of course bites with: "Thus, glGetError should always be called in a