mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Umm, oops.
This commit is contained in:
1 parent
e1cec5d3f4
commit
524208af44
1 file changed
+1
-1
@@ -287,7 +287,7 @@ void TransformAndDrawPrim(void *verts, void *inds, int prim, int vertexCount, Li
|
||||
Vec3 psum(0,0,0);
|
||||
Vec3 nsum(0,0,0);
|
||||
int nweights = (gstate.vertType & GE_VTYPE_WEIGHTCOUNT_MASK) >> GE_VTYPE_WEIGHTCOUNT_SHIFT;
|
||||
for (int i = 0; i < 8; i++)
|
||||
for (int i = 0; i < nweights; i++)
|
||||
{
|
||||
if (decoded[index].weights[i] != 0.0f) {
|
||||
Vec3ByMatrix43(out, decoded[index].pos, gstate.boneMatrix+i*12);
|
||||
|
||||
Reference in new issue
Block a user