aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/scene/imesh.cpp
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2023-03-07 22:35:00 -0600
committerAlexander M Pickering <alex@cogarr.net>2023-03-07 22:35:00 -0600
commit65d7db3487cc318dd764481193feb90bb6a897cd (patch)
treed1107b2067204e871f24fba26246824d3534a254 /src/client/lua_api/scene/imesh.cpp
parent0bc9f8922269233ca651d3765a7b073d5c2c7945 (diff)
downloadbrokengine-65d7db3487cc318dd764481193feb90bb6a897cd.tar.gz
brokengine-65d7db3487cc318dd764481193feb90bb6a897cd.tar.bz2
brokengine-65d7db3487cc318dd764481193feb90bb6a897cd.zip
Use an older name for luaL_reg
Diffstat (limited to 'src/client/lua_api/scene/imesh.cpp')
-rw-r--r--src/client/lua_api/scene/imesh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/lua_api/scene/imesh.cpp b/src/client/lua_api/scene/imesh.cpp
index 479da15..b3d32df 100644
--- a/src/client/lua_api/scene/imesh.cpp
+++ b/src/client/lua_api/scene/imesh.cpp
@@ -79,7 +79,7 @@ int newiscenecube(lua_State* L){//{v3 size}, {v3 origin}
return 1;
}
-static const luaL_reg imesh_m[] = {
+static const luaL_Reg imesh_m[] = {
//{"setMaterial", iscenesetmaterial},
//{"getpos", iscenegetpos},
//{"setpos", iscenesetpos},
@@ -87,7 +87,7 @@ static const luaL_reg imesh_m[] = {
{0, 0},
};
-static const luaL_reg icube_m[] = {
+static const luaL_Reg icube_m[] = {
{0,0},
};