diff --git a/sc2/ChangeLog b/sc2/ChangeLog index b335e3ef5..1eb05f4fb 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,5 @@ Changes towards version 0.4: +- Reports SDL version on startup (bug #520) - Mika,Nic - Fuel usage on planet landing is now reported correctly on all situations (bug #556), from Nic - Fine-grained control of menu sounds, "MenuSounds" global now diff --git a/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c b/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c index c51816d18..b1cf59082 100644 --- a/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c +++ b/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c @@ -59,6 +59,9 @@ void TFB_PreInit (void) { fprintf (stderr, "Initializing base SDL functionality.\n"); + fprintf (stderr, "Using SDL version %d.%d.%d (compiled with %d.%d.%d)\n", + SDL_Linked_Version ()->major, SDL_Linked_Version ()->minor, SDL_Linked_Version ()->patch, + SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL); if ((SDL_Init (SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE) == -1)) { fprintf (stderr, "Could not initialize SDL: %s.\n", SDL_GetError());