summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-03-03 14:01:49 -0700
committerBrian Paul <brianp@vmware.com>2009-03-03 14:01:49 -0700
commit3873ffe27d00f4890290441a6a6923e09ff9434c (patch)
tree4dce8d881c2d470724c67256fb1f699f6dae1fa3
parentc37872d8c02c5c875b1570d8eaa1fe5de0380b53 (diff)
gallium: remove old state tracker renderbuffer attachment assertion
Not needed since renderbuffers are ref-counted. Fixes progs/demos/shadowtex.
-rw-r--r--src/mesa/state_tracker/st_cb_fbo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c
index 15bd6fee05..4e669f113b 100644
--- a/src/mesa/state_tracker/st_cb_fbo.c
+++ b/src/mesa/state_tracker/st_cb_fbo.c
@@ -357,8 +357,6 @@ st_render_texture(GLcontext *ctx,
if (!pt)
return;
- assert(!att->Renderbuffer);
-
/* create new renderbuffer which wraps the texture image */
rb = st_new_renderbuffer(ctx, 0);
if (!rb) {