i915tex: Make sure renderbuffers don't get deleted when flipping them.
authorMichel Dänzer <michel@tungstengraphics.com>
Mon, 26 Mar 2007 15:38:58 +0000 (17:38 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Mon, 26 Mar 2007 15:38:58 +0000 (17:38 +0200)
commit76f3b66e0489526694d6a39b4a6ac3b1c2bee100
tree40dd46e0390469228e9f649878e3295e9bb48bb8
parent8051c95a7ede9b9cd4fa89445c52bbcaa7ff766c
i915tex: Make sure renderbuffers don't get deleted when flipping them.

Since the recent renderbuffer refcounting fixes it's no longer sufficient to
just remove the old renderbuffer from the framebuffer and then add the new one
because the former may decrease the reference count to 0 and delete the old
renderbuffer.
src/mesa/drivers/dri/i915tex/intel_fbo.c
src/mesa/drivers/dri/i915tex/intel_screen.c