updated comment about framebuffer's Visual field
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 28 Mar 2006 15:28:00 +0000 (15:28 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 28 Mar 2006 15:28:00 +0000 (15:28 +0000)
src/mesa/main/mtypes.h

index d2a0af1..3eadb33 100644 (file)
@@ -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;