Fix building with winlayer

git-svn-id: https://svn.eduke32.com/eduke32@6923 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-06-14 17:49:46 +00:00
parent ffee0f8ae9
commit f873b551a8

View file

@ -156,7 +156,7 @@ void CONFIG_SetDefaults(void)
ud.config.ScreenWidth = droidinfo.screen_width;
ud.config.ScreenHeight = droidinfo.screen_height;
#else
# if defined SDL_MAJOR_VERSION && SDL_MAJOR_VERSION > 1
# if defined RENDERTYPESDL && SDL_MAJOR_VERSION > 1
uint32_t inited = SDL_WasInit(SDL_INIT_VIDEO);
if (inited == 0)
SDL_Init(SDL_INIT_VIDEO);