Mesa (master): mesa: fix mixed-up function call name

Brian Paul brianp at kemper.freedesktop.org
Thu Aug 26 15:00:15 UTC 2010


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

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Aug 26 08:59:43 2010 -0600

mesa: fix mixed-up function call name

---

 src/mesa/main/framebuffer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 3099fc3..a98c09c 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -611,7 +611,7 @@ _mesa_update_depth_buffer(GLcontext *ctx,
 
    depthRb = fb->Attachment[attIndex].Renderbuffer;
 
-   if (depthRb && _mesa_format_is_packed_depth_stencil(depthRb->Format)) {
+   if (depthRb && _mesa_is_format_packed_depth_stencil(depthRb->Format)) {
       /* The attached depth buffer is a GL_DEPTH_STENCIL renderbuffer */
       if (!fb->_DepthBuffer
           || fb->_DepthBuffer->Wrapped != depthRb
@@ -652,7 +652,7 @@ _mesa_update_stencil_buffer(GLcontext *ctx,
 
    stencilRb = fb->Attachment[attIndex].Renderbuffer;
 
-   if (stencilRb && _mesa_format_is_packed_depth_stencil(stencilRb->Format)) {
+   if (stencilRb && _mesa_is_format_packed_depth_stencil(stencilRb->Format)) {
       /* The attached stencil buffer is a GL_DEPTH_STENCIL renderbuffer */
       if (!fb->_StencilBuffer
           || fb->_StencilBuffer->Wrapped != stencilRb




More information about the mesa-commit mailing list