projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69c6e21
)
Revert "mesa: reduce calls to _mesa_test_framebuffer_completeness()"
author
Brian Paul
<brianp@vmware.com>
Wed, 2 Mar 2011 16:11:43 +0000
(09:11 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 2 Mar 2011 16:11:43 +0000
(09:11 -0700)
This reverts commit
1f9a0a4e6e5566c36c781add5f1e62af3efdfb58
.
This caused trouble with Lightsmark w/ i965 driver and fbo/fbo-blit-d24s8
(see bug 34894). It's probably something simple but no time to debug now.
src/mesa/main/framebuffer.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/framebuffer.c
b/src/mesa/main/framebuffer.c
index 227b214a55b578c446f4862fc2018436fd94872d..8916441f4554b68fdbc820a1cfaa989a7308754a 100644
(file)
--- a/
src/mesa/main/framebuffer.c
+++ b/
src/mesa/main/framebuffer.c
@@
-799,7
+799,7
@@
update_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb)
/* This is a user-created framebuffer.
* Completeness only matters for user-created framebuffers.
*/
- if (fb->_Status
== 0
) {
+ if (fb->_Status
!= GL_FRAMEBUFFER_COMPLETE
) {
_mesa_test_framebuffer_completeness(ctx, fb);
}
}