mirror of https://github.com/aap/librw.git
fix scoping issue
This commit is contained in:
parent
30b77b0b32
commit
edc77742c5
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue