Commit f0d8fce3 authored by Pierre-Loup A. Griffais's avatar Pierre-Loup A. Griffais Committed by Martin Flöser
Browse files

kwin-gles: opt-out of flipping

The drawing logic of KWin seems to rely on buffer preservation, so we have to
let the driver know that it can't flip.

REVIEW: 102880
parent 4085ebdc
......@@ -106,6 +106,8 @@ bool SceneOpenGL::initRenderingContext()
surface = eglCreateWindowSurface(dpy, config, wspace->overlayWindow(), 0);
eglSurfaceAttrib(dpy, surface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESERVED);
const EGLint context_attribs[] = {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment