summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-02-28 00:27:48 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-02-28 00:27:48 +0000
commitbe3602da412ae56b5ee019fc47cc282eb3d66fad (patch)
treee47fd9006ceb276eb023cd511f7e2b778629136a /src/mesa/main/mtypes.h
parent6a9851d72d6cf9f5a6b0e3bd5bbb05706e071387 (diff)
GLvisual inside GLframebuffer is no longer a pointer, copy the struct instead.
Added context/drawbuffer visual config sanity checking in _mesa_make_current2(). Added some 'const' keywords.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 93e76e5729..ca1a758502 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1,4 +1,4 @@
-/* $Id: mtypes.h,v 1.21 2001/02/20 16:42:25 brianp Exp $ */
+/* $Id: mtypes.h,v 1.22 2001/02/28 00:27:48 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1118,7 +1118,7 @@ struct gl_shared_state {
* will make derived classes.
*/
struct gl_frame_buffer {
- GLvisual *Visual; /* The corresponding visual */
+ GLvisual Visual; /* The corresponding visual */
GLint Width, Height; /* size of frame buffer in pixels */