Fix spec valence start

Reference:
https://github.com/KhronosGroup/glTF/issues/1114#issuecomment-350043164
This commit is contained in:
Frank Galligan 2018-02-12 16:18:05 -08:00
parent d7f6222702
commit eb6c2a2265

View File

@ -22,7 +22,7 @@ void EdgeBreakerTraversalValenceStart() {
for (i = 0; i < NUM_UNIQUE_VALENCES; ++i) { for (i = 0; i < NUM_UNIQUE_VALENCES; ++i) {
ParseValenceContextCounters(i); ParseValenceContextCounters(i);
if (ebv_context_counters[i] > 0) { if (ebv_context_counters[i] > 0) {
DecodeSymbols(ebv_context_counters[i], 0, &ebv_context_symbols[i]); DecodeSymbols(ebv_context_counters[i], 1, &ebv_context_symbols[i]);
} }
} }
} }