diff --git a/projects/Samsung/patches/kodi/kodi-0001-use-EGL_KHR_platform_gbm-not-EGL_MESA_platform_gbm.patch b/projects/Samsung/patches/kodi/kodi-0001-use-EGL_KHR_platform_gbm-not-EGL_MESA_platform_gbm.patch index eb9c8d67d8..c2f01dded9 100644 --- a/projects/Samsung/patches/kodi/kodi-0001-use-EGL_KHR_platform_gbm-not-EGL_MESA_platform_gbm.patch +++ b/projects/Samsung/patches/kodi/kodi-0001-use-EGL_KHR_platform_gbm-not-EGL_MESA_platform_gbm.patch @@ -4,9 +4,32 @@ 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 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + 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(m_GBM->GetDevice()->Get()))) + { + return false; + } +@@ -87,7 +87,7 @@ + + if (!m_eglContext.CreatePlatformSurface( + m_GBM->GetDevice()->GetSurface()->Get(), +- reinterpret_cast(m_GBM->GetDevice()->GetSurface()->Get()))) ++ reinterpret_cast(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 @@ -22,4 +45,3 @@ index cf293900ca..5b96ebaf21 100644 std::unique_ptr CWinSystemBase::CreateWinSystem() -- 2.17.1 -