projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c337baf
)
python: Return on unknown pixel format.
author
Michal Krol
<michal@vmware.com>
Tue, 17 Mar 2009 10:34:42 +0000
(11:34 +0100)
committer
Michal Krol
<michal@vmware.com>
Tue, 17 Mar 2009 10:34:42 +0000
(11:34 +0100)
src/gallium/state_trackers/python/st_sample.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/python/st_sample.c
b/src/gallium/state_trackers/python/st_sample.c
index 092b7f3924703206ebf093d2ac4767495cc12d7c..c2ffe9fce1d513bf689f9f33d9714c5390ec3afa 100644
(file)
--- 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;