From 8408a1835feb10d6658c6d5059d2ef221a54dd60 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 7 Oct 2024 17:08:28 +0100 Subject: [PATCH] init: Also log the SDL revision here This includes the version number, unless the developer is doing something strange with git tags. Signed-off-by: Simon McVittie --- src/SDL.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SDL.c b/src/SDL.c index 36f0706719bfd8..1914a7535c8f79 100644 --- a/src/SDL.c +++ b/src/SDL.c @@ -261,6 +261,7 @@ void SDL_InitMainThread(void) if (!done_info) { const char *value; + SDL_LogInfo(SDL_LOG_CATEGORY_SYSTEM, "SDL revision: %s", SDL_REVISION); value = SDL_GetAppMetadataProperty(SDL_PROP_APP_METADATA_NAME_STRING); SDL_LogInfo(SDL_LOG_CATEGORY_SYSTEM, "App name: %s", value); value = SDL_GetAppMetadataProperty(SDL_PROP_APP_METADATA_VERSION_STRING);