mirror of https://github.com/libsdl-org/SDL.git
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:
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue