gallium: remove old state tracker renderbuffer attachment assertion
authorBrian Paul <brianp@vmware.com>
Tue, 3 Mar 2009 21:01:49 +0000 (14:01 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 3 Mar 2009 21:01:49 +0000 (14:01 -0700)
Not needed since renderbuffers are ref-counted.
Fixes progs/demos/shadowtex.

src/mesa/state_tracker/st_cb_fbo.c

index 15bd6fee0526da1531068bef2faa04e74cfa239b..4e669f113bfb8cf5f5e2d7edaaa9dbe2508be64c 100644 (file)
@@ -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) {