Set VertexReader's vtype_ to prevent oddness.

This commit is contained in:
Unknown W. Brackets 2013-02-14 08:32:37 -08:00
parent 36f49706e0
commit d0ab1c8ffc
2 changed files with 2 additions and 2 deletions

View file

@ -454,7 +454,7 @@ void TransformDrawEngine::SoftwareTransformAndDraw(
float fog_end = getFloat24(gstate.fog1);
float fog_slope = getFloat24(gstate.fog2);
VertexReader reader(decoded, decVtxFormat);
VertexReader reader(decoded, decVtxFormat, vertType);
for (int index = 0; index < maxIndex; index++) {
reader.Goto(index);