From: Michal Krol Date: Tue, 17 Mar 2009 10:34:42 +0000 (+0100) Subject: python: Return on unknown pixel format. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f1062584ec1932ff8bdf661da3965fc068e0462;p=mesa.git python: Return on unknown pixel format. --- diff --git a/src/gallium/state_trackers/python/st_sample.c b/src/gallium/state_trackers/python/st_sample.c index 092b7f39247..c2ffe9fce1d 100644 --- a/src/gallium/state_trackers/python/st_sample.c +++ b/src/gallium/state_trackers/python/st_sample.c @@ -451,6 +451,7 @@ st_sample_dxt_pixel_block(enum pipe_format format, break; default: assert(0); + return; } i = st_random() % n;