fix scoping issue

This commit is contained in:
aap 2020-10-05 20:55:35 +02:00
parent 30b77b0b32
commit edc77742c5

View File

@ -256,7 +256,7 @@ void
im3DTransform(void *vertices, int32 numVertices, Matrix *world, uint32 flags)
{
if(world == nil){
Matrix ident;
static Matrix ident;
ident.setIdentity();
world = &ident;
}