diff --git a/src/gl/gl3immed.cpp b/src/gl/gl3immed.cpp index 5dbcea1..a1bed63 100644 --- a/src/gl/gl3immed.cpp +++ b/src/gl/gl3immed.cpp @@ -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; }