diff options
author | Michal Krol <[email protected]> | 2009-03-17 11:34:42 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-03-17 11:34:42 +0100 |
commit | 7f1062584ec1932ff8bdf661da3965fc068e0462 (patch) | |
tree | d69dfa37db228b8e75899a48c3c7a512fb184e83 /src/gallium/state_trackers/python/st_sample.c | |
parent | c337bafeb99d1fb6b4f04a61b8e4a06caff11766 (diff) |
python: Return on unknown pixel format.
Diffstat (limited to 'src/gallium/state_trackers/python/st_sample.c')
-rw-r--r-- | src/gallium/state_trackers/python/st_sample.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |