From: Brian Paul Date: Tue, 3 Mar 2009 21:01:49 +0000 (-0700) Subject: gallium: remove old state tracker renderbuffer attachment assertion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3873ffe27d00f4890290441a6a6923e09ff9434c;p=mesa.git gallium: remove old state tracker renderbuffer attachment assertion Not needed since renderbuffers are ref-counted. Fixes progs/demos/shadowtex. --- diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index 15bd6fee052..4e669f113bf 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) {