mesa: Use unreachable instead of assert in check_valid_to_render
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 11 Nov 2014 10:20:49 +0000 (10:20 +0000)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 2 Dec 2014 20:16:28 +0000 (12:16 -0800)
commit331b0120d16445dd8d5b8d049946ae7845fb714b
tree469abc9cfd50608223d81df342f11abc061b7020
parent304c466bd87abb5a29d4d5a6cba35faaafdeab3b
mesa: Use unreachable instead of assert in check_valid_to_render

This is generally the prefered style these days.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/api_validate.c