mesa: fix mixed-up function call name
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user