1
0
Fork 0

Codechange: [SDL2] remove include-protection

This is already done by CMake: if SDL2 is not detected, this file
is not included.
pull/8622/head
Patric Stout 2021-01-16 14:55:26 +01:00 committed by Patric Stout
parent 5ae2c1552b
commit a52d716c88
1 changed files with 0 additions and 4 deletions

View File

@ -7,8 +7,6 @@
/** @file sdl2_v.cpp Implementation of the SDL2 video driver. */ /** @file sdl2_v.cpp Implementation of the SDL2 video driver. */
#ifdef WITH_SDL2
#include "../stdafx.h" #include "../stdafx.h"
#include "../openttd.h" #include "../openttd.h"
#include "../gfx_func.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) }; return { static_cast<uint>(mode.w), static_cast<uint>(mode.h) };
} }
#endif /* WITH_SDL2 */