summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xmesaP.h
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/xmesaP.h
parent04cf6f49587e21d23db2a4c3409ddfeb07b1f182 (diff)
changes to vishandle usage to prevent segfault in some circumstances
Diffstat (limited to 'src/mesa/drivers/x11/xmesaP.h')
-rw-r--r--src/mesa/drivers/x11/xmesaP.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h
index 3d27b5520bf..9df063539da 100644
--- a/src/mesa/drivers/x11/xmesaP.h
+++ b/src/mesa/drivers/x11/xmesaP.h
@@ -1,8 +1,8 @@
-/* $Id: xmesaP.h,v 1.31 2002/10/05 18:27:41 brianp Exp $ */
+/* $Id: xmesaP.h,v 1.32 2002/11/10 17:07:06 brianp Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 4.0.2
+ * Version: 5.0
*
* Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
*
@@ -71,9 +71,9 @@ struct xmesa_visual {
#ifdef XFree86Server
GLint screen_depth; /* The depth of the screen */
#else
- XVisualInfo *vishandle; /* The pointer returned by glXChooseVisual */
+ XVisualInfo *vishandle; /* Only used in fakeglx.c */
#endif
- XMesaVisualInfo visinfo; /* X's visual info */
+ XMesaVisualInfo visinfo; /* X's visual info (pointer to private copy) */
GLint BitsPerPixel; /* True bits per pixel for XImages */
GLint level; /* 0=normal, 1=overlay, etc */