summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-11-18 15:17:01 +0000
committerBrian Paul <[email protected]>1999-11-18 15:17:01 +0000
commitd0247f53aea8fa8677aadc8a00f75c8993be9ebc (patch)
tree4795d00fcc3dc6451b36a61a2c001faafac7978c /src/mesa/drivers/x11
parent6630e2be01f41fb3b0fdf815e00a82d8e980f116 (diff)
test visinfo, not vishandle in save_glx_visual (Wolfram Gloger)
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/fakeglx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c
index c4021731da5..19224ffa618 100644
--- a/src/mesa/drivers/x11/fakeglx.c
+++ b/src/mesa/drivers/x11/fakeglx.c
@@ -1,8 +1,8 @@
-/* $Id: fakeglx.c,v 1.13 1999/11/11 01:29:28 brianp Exp $ */
+/* $Id: fakeglx.c,v 1.14 1999/11/18 15:17:01 brianp Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 3.1
+ * Version: 3.3
*
* Copyright (C) 1999 Brian Paul All Rights Reserved.
*
@@ -258,7 +258,7 @@ save_glx_visual( Display *dpy, XVisualInfo *vinfo,
&& (v->gl_visual->StencilBits >= stencil_size || stencil_size == 0)
&& (v->gl_visual->AccumBits >= accum_size || accum_size == 0)) {
/* now either compare XVisualInfo pointers or visual IDs */
- if ((!comparePointers && v->vishandle->visualid == vinfo->visualid)
+ if ((!comparePointers && v->visinfo->visualid == vinfo->visualid)
|| (comparePointers && v->vishandle == vinfo)) {
return v;
}