python: Return on unknown pixel format.

This commit is contained in:
Michal Krol
2009-03-17 11:34:42 +01:00
parent c337bafeb9
commit 7f1062584e

View File

@@ -451,6 +451,7 @@ st_sample_dxt_pixel_block(enum pipe_format format,
break;
default:
assert(0);
return;
}
i = st_random() % n;