Expand spline data into a separate buffer. Prevent overflowing it by reducing the size of spline draws if necessary (but shouldn't really happen).

Might help #7386
This commit is contained in:
Henrik Rydgard 2015-01-29 14:12:24 +01:00
parent 626e2fc2c8
commit 033798c796
9 changed files with 68 additions and 44 deletions

View file

@ -134,7 +134,7 @@ void PrintDecodedVertex(VertexReader &vtx) {
printf("P: %f %f %f\n", pos[0], pos[1], pos[2]);
}
VertexDecoder::VertexDecoder() : jitted_(0) {
VertexDecoder::VertexDecoder() : jitted_(0), decoded_(nullptr), ptr_(nullptr) {
}
void VertexDecoder::Step_WeightsU8() const