aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2024-03-01 12:51:27 +1000
committerGitHub <noreply@github.com>2024-03-01 12:51:27 +1000
commit310a35dfe6a629a6a32b1289d0efed98f5a3eb06 (patch)
treecf25d1cc1ffa1250dc1da4d28a8aa413222541cd
parentd7126f85b4118f743e756b36bbab0a4eb8c3e9da (diff)
parentf7e1a9324afe42905ade577332f35c99a0af6aa0 (diff)
Merge pull request #24773 from neo1973/backport_24523
[backport] EGLUtils: Fix nullptr usage in EglErrorCallback
-rw-r--r--xbmc/utils/EGLUtils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/utils/EGLUtils.cpp b/xbmc/utils/EGLUtils.cpp
index 7c5e70938f..85f889dc9f 100644
--- a/xbmc/utils/EGLUtils.cpp
+++ b/xbmc/utils/EGLUtils.cpp
@@ -115,7 +115,8 @@ void EglErrorCallback(EGLenum error,
typeStr = eglType->second;
}
- CLog::Log(LOGDEBUG, "EGL Debugging:\nError: {}\nCommand: {}\nType: {}\nMessage: {}", errorStr, command, typeStr, message);
+ CLog::Log(LOGDEBUG, "EGL Debugging:\nError: {}\nCommand: {}\nType: {}\nMessage: {}", errorStr,
+ command, typeStr, message ? message : "");
}
std::set<std::string> CEGLUtils::GetClientExtensions()