--- COpenGLDriver.cpp.orig 2023-03-06 04:45:09.000000000 +0800 +++ COpenGLDriver.cpp 2025-08-16 18:53:57.000000000 +0800 @@ -20,6 +20,10 @@ #include "mt_opengl.h" +#ifndef GL_TEXTURE_CUBE_MAP_SEAMLESS +#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F +#endif + namespace irr { namespace video