intel: Return error value from intel_batchbuffer_flush().
authorEric Anholt <eric@anholt.net>
Sat, 22 Oct 2011 17:33:24 +0000 (10:33 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 29 Oct 2011 19:16:02 +0000 (12:16 -0700)
commitda8f052560120010b7f37a300f03c0847cca3aa5
treeb26098072501e4b902b5a8b63813a2dfb0f28f25
parentfff693828ed5398ae284fb01c129d0f8986a126e
intel: Return error value from intel_batchbuffer_flush().

This will let the caller do something sensible on error, if it cares.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/intel/intel_batchbuffer.c
src/mesa/drivers/dri/intel/intel_batchbuffer.h