diff --git a/engine/gl/gl_vidsdl.c b/engine/gl/gl_vidsdl.c index 87df6e6b9..fab4f261b 100644 --- a/engine/gl/gl_vidsdl.c +++ b/engine/gl/gl_vidsdl.c @@ -24,7 +24,12 @@ extern qboolean mouseusedforgui; static void *GLVID_getsdlglfunction(char *functionname) { +#ifdef GL_STATIC + //this reduces dependancies in the webgl build (removing warnings about emulation being poo) + return NULL; +#else return SDL_GL_GetProcAddress(functionname); +#endif } qboolean GLVID_Init (rendererstate_t *info, unsigned char *palette)