mesa: remove redundant buffer checks in copytexture_error_check()
authorBrian Paul <brianp@vmware.com>
Thu, 13 Oct 2011 13:37:43 +0000 (07:37 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 13 Oct 2011 13:38:03 +0000 (07:38 -0600)
commit63aa53bf3499672a14259af9ce964065776584fe
tree85e86ec09cdc7aeba202ada8fce3d5f4a52c71ca
parent504d0add1257f63d72d320f99f182412358dc40f
mesa: remove redundant buffer checks in copytexture_error_check()

There was already a call to _mesa_source_buffer_exists() earlier in
the function.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/teximage.c