From 8e3b3e0f0cebc3560850d366bc0ffaaba180dd94 Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 6 Mar 2018 16:51:18 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5223 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_vidlinuxglx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/gl/gl_vidlinuxglx.c b/engine/gl/gl_vidlinuxglx.c index ef4178609..b55b20d2b 100644 --- a/engine/gl/gl_vidlinuxglx.c +++ b/engine/gl/gl_vidlinuxglx.c @@ -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;