mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 16:20:27 +02:00
cleanup: only build some files on WIN32 and compile EGL only if needed
This commit is contained in:
@ -3391,7 +3391,7 @@ inline void COpenGLExtensionHandler::extGlGenerateTextureMipmap(GLuint texture,
|
||||
inline void COpenGLExtensionHandler::extGlSwapInterval(int interval)
|
||||
{
|
||||
// we have wglext, so try to use that
|
||||
#if defined(_IRR_WINDOWS_API_) && defined(_IRR_COMPILE_WITH_WINDOWS_DEVICE_)
|
||||
#if defined(_IRR_WINDOWS_API_)
|
||||
#ifdef WGL_EXT_swap_control
|
||||
if (pWglSwapIntervalEXT)
|
||||
pWglSwapIntervalEXT(interval);
|
||||
|
Reference in New Issue
Block a user