projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
283edbe
)
mesa: call fbo_incomplete() if driver marks FBO as incomplete (debug only)
author
Brian Paul
<brianp@vmware.com>
Tue, 20 Jan 2009 00:34:19 +0000
(17:34 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 22 Jan 2009 22:16:17 +0000
(15:16 -0700)
src/mesa/main/fbobject.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/fbobject.c
b/src/mesa/main/fbobject.c
index ad4965550a49a5c0165c90fad064eb96d915c055..cdfa291e1093f0065b4c4d17c3f041164a76d1d2 100644
(file)
--- a/
src/mesa/main/fbobject.c
+++ b/
src/mesa/main/fbobject.c
@@
-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) {