mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
mesa: fix mixed-up function call name
This commit is contained in:
parent
e71a9042cb
commit
7b07674667
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue