mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 22:48:30 +00:00
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>
This commit is contained in:

committed by
Ryan C. Gordon

parent
c24f7d2453
commit
fb8244d6d9
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user