summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-03-27 14:48:22 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-03-27 14:48:22 +0000
commitec32d129b79fdf2d4cb47a9f2077787857a64116 (patch)
treebd1e27ad625e5b426ad589eb735a76dafa98131d
parentcd41c2744625acb33d136a3f5c0d527c22a8ccd5 (diff)
remove a temporary FBO test in intel_map_unmap_buffers() - fixes flickering in tunnel demo
-rw-r--r--src/mesa/drivers/dri/i915/intel_span.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_span.c b/src/mesa/drivers/dri/i915/intel_span.c
index 24eac0dce2..960ffa5dbc 100644
--- a/src/mesa/drivers/dri/i915/intel_span.c
+++ b/src/mesa/drivers/dri/i915/intel_span.c
@@ -190,7 +190,7 @@ intel_map_unmap_buffers(struct intel_context *intel, GLboolean map)
for (j = 0; j < ctx->DrawBuffer->_NumColorDrawBuffers[i]; j++) {
struct gl_renderbuffer *rb = ctx->DrawBuffer->_ColorDrawBuffers[i][j];
irb = intel_renderbuffer(rb);
- if (irb && irb->Base.Name != 0) { /* XXX FBO temporary test */
+ if (irb) {
/* this is a user-created intel_renderbuffer */
if (irb->region) {
if (map)