From a52d716c88925a6a55f91276c9b4007cdb9b6795 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sat, 16 Jan 2021 14:55:26 +0100 Subject: Codechange: [SDL2] remove include-protection This is already done by CMake: if SDL2 is not detected, this file is not included. --- src/video/sdl2_v.cpp | 4 ---- 1 file changed, 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(mode.w), static_cast(mode.h) }; } - -#endif /* WITH_SDL2 */ -- cgit v1.2.3-54-g00ecf