Mesa (master): mesa: update comments for _DepthBuffer, _StencilBuffer fields

Brian Paul brianp at kemper.freedesktop.org
Tue Dec 13 13:50:31 UTC 2011


Module: Mesa
Branch: master
Commit: cbd65fe14917def9c0f401c973394d6456cbe83b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbd65fe14917def9c0f401c973394d6456cbe83b

Author: Brian Paul <brianp at vmware.com>
Date:   Sat Dec 10 11:44:44 2011 -0700

mesa: update comments for _DepthBuffer, _StencilBuffer fields

Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/main/mtypes.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index fc494f7..1e06cd5 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2650,8 +2650,9 @@ struct gl_framebuffer
    struct gl_renderbuffer *_ColorDrawBuffers[MAX_DRAW_BUFFERS];
    struct gl_renderbuffer *_ColorReadBuffer;
 
-   /** The Actual depth/stencil buffers to use.  May be wrappers around the
-    * depth/stencil buffers attached above. */
+   /** Wrappers to make combined depth/stencil buffers look like separate
+    * buffers.  Only used by swrast.  Will be removed in the future.
+    */
    struct gl_renderbuffer *_DepthBuffer;
    struct gl_renderbuffer *_StencilBuffer;
 




More information about the mesa-commit mailing list