mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-10 08:00:05 +00:00
Codechange: [SDL2] remove include-protection
This is already done by CMake: if SDL2 is not detected, this file is not included.
This commit is contained in:
parent
5ae2c1552b
commit
a52d716c88
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user