aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/video
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/lua_api/video')
-rw-r--r--src/client/lua_api/video/iimage.cpp2
-rw-r--r--src/client/lua_api/video/smaterial.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/lua_api/video/iimage.cpp b/src/client/lua_api/video/iimage.cpp
index 3655b64..31b3156 100644
--- a/src/client/lua_api/video/iimage.cpp
+++ b/src/client/lua_api/video/iimage.cpp
@@ -145,7 +145,7 @@ int getiimagedimensions(lua_State *L){
return 1;
}
-static const luaL_reg iimage_m[] = {
+static const luaL_Reg iimage_m[] = {
{"setpixel", setiimagepixel},
{"getpixel", getiimagepixel},
{"getdimensions", getiimagedimensions},
diff --git a/src/client/lua_api/video/smaterial.cpp b/src/client/lua_api/video/smaterial.cpp
index 4ed6a46..a7a9851 100644
--- a/src/client/lua_api/video/smaterial.cpp
+++ b/src/client/lua_api/video/smaterial.cpp
@@ -74,7 +74,7 @@ int setFlag(lua_State* L){
return 0;
}
-static const luaL_reg smaterial_m[] = {
+static const luaL_Reg smaterial_m[] = {
{"settexture", setTexture},
{"setflag", setFlag},
{0,0},