summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/glxext.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glx/glxext.c b/src/glx/glxext.c
index f9a5f7ce5d7..eadc792b917 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -229,7 +229,6 @@ FreeScreenConfigs(__GLXdisplayPrivate * priv)
#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
if (psc->driScreen) {
psc->driScreen->destroyScreen(psc);
- psc->driScreen = NULL;
} else {
Xfree(psc);
}