Blame SOURCES/0018-Fix-compilation.patch

0cfe39
From 2f84a874da064069461284db1da36dc818949ec1 Mon Sep 17 00:00:00 2001
0cfe39
From: Albert Astals Cid <aacid@kde.org>
0cfe39
Date: Sat, 10 Apr 2021 12:10:16 +0200
0cfe39
Subject: [PATCH 18/19] Fix compilation
0cfe39
0cfe39
9df11e79b46c77d8c83f765b2a8e85b639fd55a2 can't be backported 1:1
0cfe39
---
0cfe39
 .../client/wayland-egl/qwaylandglcontext.cpp                    | 2 +-
0cfe39
 1 file changed, 1 insertion(+), 1 deletion(-)
0cfe39
0cfe39
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp b/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp
0cfe39
index befadedc..95d1049c 100644
0cfe39
--- a/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp
0cfe39
+++ b/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp
0cfe39
@@ -408,7 +408,7 @@ QWaylandGLContext::~QWaylandGLContext()
0cfe39
     delete m_blitter;
0cfe39
     m_blitter = nullptr;
0cfe39
     if (m_decorationsContext != EGL_NO_CONTEXT)
0cfe39
-        eglDestroyContext(eglDisplay(), m_decorationsContext);
0cfe39
+        eglDestroyContext(m_eglDisplay, m_decorationsContext);
0cfe39
 }
0cfe39
 
0cfe39
 bool QWaylandGLContext::makeCurrent(QPlatformSurface *surface)
0cfe39
-- 
0cfe39
2.31.1
0cfe39