diff options
author | Markus Härer <markus.haerer@gmx.net> | 2024-01-17 00:12:48 +0100 |
---|---|---|
committer | Markus Härer <markus.haerer@gmx.net> | 2024-02-27 23:02:05 +0100 |
commit | f7e1a9324afe42905ade577332f35c99a0af6aa0 (patch) | |
tree | 94d4798a5e4f7625c54a137202de0470f45c593d | |
parent | 2de154676fa213c172b2e374fdf793a3d6db7ace (diff) |
EGLUtils: Fix nullptr usage in EglErrorCallback
Fixes #23867.
(cherry picked from commit 1ee88ab8e4da66c1bc8eec92f2c6189552f8b98e)
-rw-r--r-- | xbmc/utils/EGLUtils.cpp | 3 |
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() |