aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
authorJohannes Schickel2016-03-13 14:07:10 +0100
committerJohannes Schickel2016-03-13 14:07:56 +0100
commitb32f347531cf9aa5b23db5ce875b5b7a295022bb (patch)
tree4978a425be3a55475fb4c3174a0c91a42b0f57d1 /backends/platform/sdl
parent90899860b4e4843cc42b272c86d15951c8846dca (diff)
downloadscummvm-rg350-b32f347531cf9aa5b23db5ce875b5b7a295022bb.tar.gz
scummvm-rg350-b32f347531cf9aa5b23db5ce875b5b7a295022bb.tar.bz2
scummvm-rg350-b32f347531cf9aa5b23db5ce875b5b7a295022bb.zip
SDL: Get rid of reference to SDL 1.3.
We only support SDL 1.2 and SDL 2.
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r--backends/platform/sdl/sdl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index a110a9ff2f..c55753194b 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -484,8 +484,8 @@ Common::TimerManager *OSystem_SDL::getTimerManager() {
}
AudioCDManager *OSystem_SDL::createAudioCDManager() {
- // Audio CD support was removed with SDL 1.3
-#if SDL_VERSION_ATLEAST(1, 3, 0)
+ // Audio CD support was removed with SDL 2.0
+#if SDL_VERSION_ATLEAST(2, 0, 0)
return new DefaultAudioCDManager();
#else
return new SdlAudioCDManager();