From 204a05fef82eede2fb2d79ec051668a1f42886cc Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Fri, 18 Jan 2019 11:44:50 +0200 Subject: [PATCH] Compile the virtual backend with older Mesa Summary: BUG: 403326 FIXED-IN: 5.15.0 Test Plan: N/A Reviewers: #kwin, fvogt, davidedmundson Reviewed By: #kwin, fvogt, davidedmundson Subscribers: kwin, fvogt Tags: #kwin Differential Revision: https://phabricator.kde.org/D18353 --- plugins/platforms/virtual/egl_gbm_backend.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/platforms/virtual/egl_gbm_backend.cpp b/plugins/platforms/virtual/egl_gbm_backend.cpp index 9986da0487..1664867763 100644 --- a/plugins/platforms/virtual/egl_gbm_backend.cpp +++ b/plugins/platforms/virtual/egl_gbm_backend.cpp @@ -30,6 +30,10 @@ along with this program. If not, see . // Qt #include +#ifndef EGL_PLATFORM_SURFACELESS_MESA +#define EGL_PLATFORM_SURFACELESS_MESA 0x31DD +#endif + namespace KWin {