summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xm_api.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-11-10 17:07:06 +0000
committerBrian Paul <[email protected]>2002-11-10 17:07:06 +0000
commitf104619b8f6ece7a60aa365c859b03fbc1d74592 (patch)
tree8cc41c76674543fe243a99be7c1bd94ee4c50493 /src/mesa/drivers/x11/xm_api.c
parent04cf6f49587e21d23db2a4c3409ddfeb07b1f182 (diff)
changes to vishandle usage to prevent segfault in some circumstances
Diffstat (limited to 'src/mesa/drivers/x11/xm_api.c')
-rw-r--r--src/mesa/drivers/x11/xm_api.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index 6dbb3f38567..4a2bd72527e 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -1,4 +1,4 @@
-/* $Id: xm_api.c,v 1.50 2002/10/30 20:24:46 brianp Exp $ */
+/* $Id: xm_api.c,v 1.51 2002/11/10 17:07:06 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1494,11 +1494,6 @@ XMesaVisual XMesaCreateVisual( XMesaDisplay *display,
return NULL;
}
MEMCPY(v->visinfo, visinfo, sizeof(*visinfo));
-
- /* Save a copy of the pointer now so we can find this visual again
- * if we need to search for it in find_glx_visual().
- */
- v->vishandle = visinfo;
#endif
#ifdef XFree86Server