mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 20:48:08 +02:00
mesa: call fbo_incomplete() if driver marks FBO as incomplete (debug only)
This commit is contained in:
parent
283edbe311
commit
1f32c410dd
1 changed files with 3 additions and 0 deletions
|
|
@ -574,6 +574,9 @@ _mesa_test_framebuffer_completeness(GLcontext *ctx, struct gl_framebuffer *fb)
|
|||
/* ... but the driver may say the FB is incomplete: */
|
||||
if (ctx->Driver.ValidateFramebuffer) {
|
||||
ctx->Driver.ValidateFramebuffer(ctx, fb);
|
||||
if (fb->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) {
|
||||
fbo_incomplete("driver marked FBO as incomplete", -1);
|
||||
}
|
||||
}
|
||||
|
||||
if (fb->_Status == GL_FRAMEBUFFER_COMPLETE_EXT) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue