intel: Return failure properly in the texsubimage blit path.
authorEric Anholt <eric@anholt.net>
Thu, 11 Apr 2013 17:30:51 +0000 (10:30 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 12 Apr 2013 23:32:13 +0000 (16:32 -0700)
commit6cec233c62a8f455992036f380f3447f90a2715a
tree040ae54d3711f51acba52eceb3681d3c8aed97ce
parentb681a8958848d53f6f81f77d47674b996d9e8c20
intel: Return failure properly in the texsubimage blit path.

We assert that failure doesn't happen, but it fixes a warning in the
release build and it would at least give working behavior for a user by
falling back to the normal texsubimage path.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/intel/intel_tex_subimage.c