mirror of https://github.com/OpenTTD/OpenTTD
Codechange: [SDL2] remove include-protection
This is already done by CMake: if SDL2 is not detected, this file is not included.pull/8622/head
parent
5ae2c1552b
commit
a52d716c88
|
@ -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 */
|
|
||||||
|
|
Loading…
Reference in New Issue