# HG changeset patch
# User koda
# Date 1447592489 -3600
# Node ID 95d5badcb44f28ff2aa6adfd6de73c19daba2d31
# Parent d3b603323b2b84de63817e335dcafeba27396e9d
about: Update SDL2 names and drop old version check
diff -r d3b603323b2b -r 95d5badcb44f QTfrontend/ui/widget/about.cpp
--- a/QTfrontend/ui/widget/about.cpp Sun Nov 15 13:35:23 2015 +0100
+++ b/QTfrontend/ui/widget/about.cpp Sun Nov 15 14:01:29 2015 +0100
@@ -103,19 +103,15 @@
const SDL_version *sdl_ver;
SDL_version sdl_version;
-#if SDL_MAJOR_VERSION == 2
SDL_GetVersion(&sdl_version);
sdl_ver = &sdl_version;
-#else
- sdl_ver = SDL_Linked_Version();
-#endif
- libinfo.append(QString("SDL version: %1.%2.%3
")
+ libinfo.append(QString("SDL2 version: %1.%2.%3
")
.arg(sdl_ver->major)
.arg(sdl_ver->minor)
.arg(sdl_ver->patch));
const SDL_version *sdlmixer_ver = Mix_Linked_Version();
- libinfo.append(QString("SDL_mixer version: %1.%2.%3
")
+ libinfo.append(QString("SDL2_mixer version: %1.%2.%3
")
.arg(sdlmixer_ver->major)
.arg(sdlmixer_ver->minor)
.arg(sdlmixer_ver->patch));