1
0
Fork 0
forked from fte/fteqw

Fix some of the issues highlighted by the emscripten port.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4453 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-08-06 02:20:56 +00:00
parent 3343370115
commit 627fe505b9

View file

@ -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)