st/mesa: plug in default for pipe_context::surface_copy() if needed
authorBrian Paul <brianp@vmware.com>
Wed, 17 Mar 2010 16:31:57 +0000 (10:31 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Mar 2010 16:31:59 +0000 (10:31 -0600)
commitc11d582411a999ed40db4c02143dd380113e0ffd
tree91fa0eafcf6fcb26a6ada94af62a502bfa9f9a4c
parenta196a5d3303a49c5f79a283f91f8e0cc8aa87f69
st/mesa: plug in default for pipe_context::surface_copy() if needed

This lets us avoid conditionals and duplicated code in several places.
src/mesa/state_tracker/st_atom_framebuffer.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_texture.c