kodi: drop EGL_KHR libmali patch

This commit is contained in:
Christian Hewitt 2022-01-10 12:05:54 +00:00
parent 5e52d2ce58
commit 0a5c5abfa3

View File

@ -1,47 +0,0 @@
From 786ec67197d42184be2fcdecc24112adbc0692b3 Mon Sep 17 00:00:00 2001
From: Christian Hewitt <christianshewitt@gmail.com>
Date: Mon, 6 Jul 2020 06:56:46 +0000
Subject: [PATCH] use EGL_KHR_platform_gbm not EGL_MESA_platform_gbm
---
xbmc/windowing/gbm/WinSystemGbmEGLContext.cpp | 2 ++--
xbmc/windowing/gbm/WinSystemGbmGLESContext.cpp | 2 +-
2 file changed, 3 insertion(+), 3 deletion(-)
diff --git a/xbmc/windowing/gbm/WinSystemGbmEGLContext.cpp b/xbmc/windowing/gbm/WinSystemGbmEGLContext.cpp
index d8d775dcad..21efc02d34 100644
--- a/xbmc/windowing/gbm/WinSystemGbmEGLContext.cpp
+++ b/xbmc/windowing/gbm/WinSystemGbmEGLContext.cpp
@@ -23,7 +23,7 @@ bool CWinSystemGbmEGLContext::InitWindowSystemEGL(EGLint renderableType, EGLint
return false;
}
- if (!m_eglContext.CreatePlatformDisplay(m_GBM->GetDevice()->Get(), m_GBM->GetDevice()->Get()))
+ if (!m_eglContext.CreatePlatformDisplay(m_GBM->GetDevice()->Get(), reinterpret_cast<EGLNativeDisplayType>(m_GBM->GetDevice()->Get())))
{
return false;
}
@@ -87,7 +87,7 @@
if (!m_eglContext.CreatePlatformSurface(
m_GBM->GetDevice()->GetSurface()->Get(),
- reinterpret_cast<khronos_uintptr_t>(m_GBM->GetDevice()->GetSurface()->Get())))
+ reinterpret_cast<EGLNativeWindowType>(m_GBM->GetDevice()->GetSurface()->Get())))
{
return false;
}
diff --git a/xbmc/windowing/gbm/WinSystemGbmGLESContext.cpp b/xbmc/windowing/gbm/WinSystemGbmGLESContext.cpp
index cf293900ca..5b96ebaf21 100644
--- a/xbmc/windowing/gbm/WinSystemGbmGLESContext.cpp
+++ b/xbmc/windowing/gbm/WinSystemGbmGLESContext.cpp
@@ -35,7 +35,7 @@
using namespace KODI::WINDOWING::GBM;
CWinSystemGbmGLESContext::CWinSystemGbmGLESContext()
-: CWinSystemGbmEGLContext(EGL_PLATFORM_GBM_MESA, "EGL_MESA_platform_gbm")
+: CWinSystemGbmEGLContext(EGL_PLATFORM_GBM_MESA, "EGL_KHR_platform_gbm")
{}
std::unique_ptr<CWinSystemBase> CWinSystemBase::CreateWinSystem()
--
2.17.1