little fix

This commit is contained in:
aap 2020-04-17 23:46:03 +02:00
parent 4893889621
commit d38ebcd64f

View File

@ -248,8 +248,8 @@ im3DTransform(void *vertices, int32 numVertices, Matrix *world)
if(world == nil){
Matrix ident;
ident.setIdentity();
world = &ident;
}
convMatrix(&d3dworld, &ident);
}else
convMatrix(&d3dworld, world);
d3ddevice->SetTransform(D3DTS_WORLD, (D3DMATRIX*)&d3dworld);