cleanup: only build some files on WIN32 and compile EGL only if needed

This commit is contained in:
Loïc Blot
2023-08-01 20:53:25 +02:00
committed by GitHub
parent c311d01c07
commit d98dc90b38
11 changed files with 42 additions and 34 deletions

View File

@ -48,7 +48,7 @@ bool COpenGLDriver::initDriver()
genericDriverInit();
#if defined(_IRR_COMPILE_WITH_WINDOWS_DEVICE_) || defined(_IRR_COMPILE_WITH_X11_DEVICE_)
#if defined(_IRR_WINDOWS_API_) || defined(_IRR_COMPILE_WITH_X11_DEVICE_)
extGlSwapInterval(Params.Vsync ? 1 : 0);
#endif