summaryrefslogtreecommitdiff
path: root/src/video/sdl2_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/sdl2_v.cpp')
-rw-r--r--src/video/sdl2_v.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video/sdl2_v.cpp b/src/video/sdl2_v.cpp
index ede8a8486..919208399 100644
--- a/src/video/sdl2_v.cpp
+++ b/src/video/sdl2_v.cpp
@@ -7,8 +7,6 @@
/** @file sdl2_v.cpp Implementation of the SDL2 video driver. */
-#ifdef WITH_SDL2
-
#include "../stdafx.h"
#include "../openttd.h"
#include "../gfx_func.h"
@@ -962,5 +960,3 @@ Dimension VideoDriver_SDL::GetScreenSize() const
return { static_cast<uint>(mode.w), static_cast<uint>(mode.h) };
}
-
-#endif /* WITH_SDL2 */