mesa: fix texture/renderbuffer mix-up in test_attachment_completeness()
This commit is contained in:
@@ -307,7 +307,7 @@ test_attachment_completeness(const GLcontext *ctx, GLenum format,
|
|||||||
/* OK */
|
/* OK */
|
||||||
}
|
}
|
||||||
else if (ctx->Extensions.EXT_packed_depth_stencil &&
|
else if (ctx->Extensions.EXT_packed_depth_stencil &&
|
||||||
att->Renderbuffer->_BaseFormat == GL_DEPTH_STENCIL_EXT) {
|
texImage->TexFormat->BaseFormat == GL_DEPTH_STENCIL_EXT) {
|
||||||
/* OK */
|
/* OK */
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user