mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 05:40:13 +01:00
mesa: fix texture/renderbuffer mix-up in test_attachment_completeness()
This commit is contained in:
parent
de3634fca8
commit
13041da714
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ test_attachment_completeness(const GLcontext *ctx, GLenum format,
|
|||
/* OK */
|
||||
}
|
||||
else if (ctx->Extensions.EXT_packed_depth_stencil &&
|
||||
att->Renderbuffer->_BaseFormat == GL_DEPTH_STENCIL_EXT) {
|
||||
texImage->TexFormat->BaseFormat == GL_DEPTH_STENCIL_EXT) {
|
||||
/* OK */
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue