mirror of https://github.com/bjornbytes/lovr.git
Thread local vector metatable refs;
This commit is contained in:
parent
5d5adfe7ea
commit
61eaf579cd
|
@ -28,7 +28,7 @@ static const luaL_Reg* lovrVectorMetatables[] = {
|
|||
[V_MAT4] = lovrMat4
|
||||
};
|
||||
|
||||
static int lovrVectorMetatableRefs[] = {
|
||||
static LOVR_THREAD_LOCAL int lovrVectorMetatableRefs[] = {
|
||||
[V_VEC2] = LUA_REFNIL,
|
||||
[V_VEC3] = LUA_REFNIL,
|
||||
[V_VEC4] = LUA_REFNIL,
|
||||
|
|
Loading…
Reference in New Issue