st: create renderbuffer's pipe_surface in st_render_texture()
authorBrian Paul <brianp@vmware.com>
Sat, 2 May 2009 00:17:34 +0000 (18:17 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 2 May 2009 00:17:34 +0000 (18:17 -0600)
commit0a56a4968786bd93d9117af2a0a3bda13ea71c4d
tree501e21fdc9000e601edb484779602ad5c5c993f9
parent63f01309801c5a900d8d7f5ccd63413e33ff9bff
st: create renderbuffer's pipe_surface in st_render_texture()

Previously we created the pipe_surface during framebuffer validation.
But if we did a glCopyTex[Sub]Image() before anything else we wouldn't yet
have the surface.  This fixes that.
src/mesa/state_tracker/st_cb_fbo.c