commit | 80dc54e308dfb1fad344272978ff14646995e00a | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Mon Mar 08 11:31:23 2010 -0700 |
committer | Brian Paul <brianp@vmware.com> | Mon Mar 08 11:39:51 2010 -0700 |
tree | 5d344a61917a0da1c5d9e4f3ad99c94591845e2a | |
parent | df9bf78f888702542a506f551204a2e7dc8b7df1 [diff] |
st/mesa: don't detach renderbuffer, surface in st_finish_render_texture() There's no reason to release the renderbuffer from the framebuffer object or release the gallium surface in this function (they're reference counted). In fact, we don't want to do this because we may later use the texture as a pixel source (ex: glBlitFramebuffer) and need the surface. Fixes fd.o bug 26923 and is part of the fix for bug 26932.