mesa: fix mixed-up function call name
authorBrian Paul <brianp@vmware.com>
Thu, 26 Aug 2010 14:59:43 +0000 (08:59 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 26 Aug 2010 14:59:54 +0000 (08:59 -0600)
src/mesa/main/framebuffer.c

index 3099fc3e7f26476453afbef88d48b81ac6c77e79..a98c09cfbf3411d8c762ac644f20714fc62ce394 100644 (file)
@@ -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