From fb8244d6d9c2c6ff38f0699df999e997dcdb8e1e 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 c612900489..aae7c0e0cb 100644 --- a/src/SDL.c +++ b/src/SDL.c @@ -270,6 +270,7 @@ void SDL_InitMainThread(void) SDL_LogInfo(SDL_LOG_CATEGORY_SYSTEM, "App version: %s", value ? value : ""); value = SDL_GetAppMetadataProperty(SDL_PROP_APP_METADATA_IDENTIFIER_STRING); SDL_LogInfo(SDL_LOG_CATEGORY_SYSTEM, "App ID: %s", value ? value : ""); + SDL_LogInfo(SDL_LOG_CATEGORY_SYSTEM, "SDL revision: %s", SDL_REVISION); done_info = true; }