small fix for x64

This commit is contained in:
d1str4ught
2025-08-19 18:48:59 +02:00
parent 61a04096ee
commit a09b1b4eea
2 changed files with 5 additions and 5 deletions

View File

@@ -196,7 +196,7 @@ bool CGrannyModel::LoadMeshs()
}
m_bHaveBlendThing |= rMesh.HaveBlendThing();
granny_int32x grni32xTypeCount = GrannyGetTotalTypeSize(pgrnMesh->PrimaryVertexData->VertexType) / 32;
granny_int32x grni32xTypeCount = GrannyGetTotalTypeSize(pgrnMesh->PrimaryVertexData->VertexType) / sizeof(granny_vertex_data);
int i = 0;
while (i < grni32xTypeCount)
{