fix missing #ifdef statement breaking compiling when not on linux
This commit is contained in:
parent
7d5cb361f0
commit
b493788b26
@ -612,6 +612,7 @@ int main(int argc, char * argv[])
|
||||
exit(-1);
|
||||
}
|
||||
#endif
|
||||
#if defined (USE_SDL) && defined(LIN) && defined(SDL_VIDEO_DRIVER_X11)
|
||||
SDL_EventState(SDL_SYSWMEVENT, SDL_ENABLE);
|
||||
SDL_VERSION(&sdl_wminfo.version);
|
||||
SDL_GetWMInfo(&sdl_wminfo);
|
||||
@ -619,6 +620,7 @@ int main(int argc, char * argv[])
|
||||
XA_CLIPBOARD = XInternAtom(sdl_wminfo.info.x11.display, "CLIPBOARD", 1);
|
||||
XA_TARGETS = XInternAtom(sdl_wminfo.info.x11.display, "TARGETS", 1);
|
||||
sdl_wminfo.info.x11.unlock_func();
|
||||
#endif
|
||||
ui::Engine::Ref().g = new Graphics();
|
||||
ui::Engine::Ref().Scale = scale;
|
||||
inputScale = 1.0f/float(scale);
|
||||
|
Reference in New Issue
Block a user