mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-25 07:16:58 +00:00
Looks like these should be pos/nrm/col.
This commit is contained in:
parent
39663a1409
commit
8bf5189324
@ -704,8 +704,8 @@ u32 VertexDecoder::InjectUVs(u8 *decoded, const void *verts, float *customuv, in
|
||||
u8 *out = decoded;
|
||||
for (int i = 0; i < count; i++) {
|
||||
if (pos) memcpy(out + decOut.posoff, inp + posoff, possize[pos]);
|
||||
if (nrm) memcpy(out + decOut.nrmoff, inp + nrmoff, nrmsize[pos]);
|
||||
if (col) memcpy(out + decOut.coloff, inp + coloff, colsize[pos]);
|
||||
if (nrm) memcpy(out + decOut.nrmoff, inp + nrmoff, nrmsize[nrm]);
|
||||
if (col) memcpy(out + decOut.coloff, inp + coloff, colsize[col]);
|
||||
// Ignore others for now, this is all we need for puzbob.
|
||||
// Inject!
|
||||
memcpy(out + decOut.tcoff, &customuv[i * 2], tcsize[decOut.tc]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user