git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5223 fc73d0e0-1445-4013-8a0c-d673dee63da5

This commit is contained in:
Spoike 2018-03-06 16:51:18 +00:00
parent 4a29919111
commit 8e3b3e0f0c

View file

@ -3194,7 +3194,9 @@ qboolean X11VID_Init (rendererstate_t *info, unsigned char *palette, int psl)
case PSL_GLX:
if (!GLX_Init(info, fbconfig, visinfo))
{
#if defined(USE_EGL) || defined(VKQUAKE)
if (visinfo != &vinfodef)
#endif
x11.pXFree(visinfo);
GLVID_Shutdown();
return false;