summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-03-28 15:28:00 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-03-28 15:28:00 +0000
commit0e26ca083441e3c76ddbae3699befde92b4933dd (patch)
treef926afd146992ab147aa013ef4f2c55fe0f284e0 /src/mesa
parente44499480fb39c75ee07d1f78f561db5a67129c5 (diff)
updated comment about framebuffer's Visual field
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mtypes.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index d2a0af1121..3eadb33e0f 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -9,7 +9,7 @@
* Mesa 3-D graphics library
* Version: 6.5
*
- * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -2169,7 +2169,9 @@ struct gl_framebuffer
GLuint Name; /* if zero, this is a window system framebuffer */
GLint RefCount;
- GLvisual Visual; /**< The corresponding visual */
+ GLvisual Visual; /**< The framebuffer's visual.
+ Immutable if this is a window system buffer.
+ Computed from attachments if user-made FBO. */
GLboolean Initialized;