From fb8244d6d9c2c6ff38f0699df999e997dcdb8e1e Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
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 <smcv@collabora.com>
---
src/SDL.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/SDL.c b/src/SDL.c
index c61290048947c..aae7c0e0cbd0c 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 : "<unspecified>");
value = SDL_GetAppMetadataProperty(SDL_PROP_APP_METADATA_IDENTIFIER_STRING);
SDL_LogInfo(SDL_LOG_CATEGORY_SYSTEM, "App ID: %s", value ? value : "<unspecified>");
+ SDL_LogInfo(SDL_LOG_CATEGORY_SYSTEM, "SDL revision: %s", SDL_REVISION);
done_info = true;
}