summaryrefslogtreecommitdiffstats
path: root/RenderScript/src/LuaBindings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'RenderScript/src/LuaBindings.cpp')
-rw-r--r--RenderScript/src/LuaBindings.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/RenderScript/src/LuaBindings.cpp b/RenderScript/src/LuaBindings.cpp
index 9b6fe87..425acbb 100644
--- a/RenderScript/src/LuaBindings.cpp
+++ b/RenderScript/src/LuaBindings.cpp
@@ -30,7 +30,7 @@ using namespace std;
namespace Diligent
{
template<typename Type>
- int ReadIntValueFromLua( lua_State *L, int Index )
+ Type ReadIntValueFromLua( lua_State *L, int Index )
{
CheckType( L, Index, LUA_TNUMBER );
@@ -114,7 +114,8 @@ namespace Diligent
return ReadIntValueFromLua<Uint32>( L, Index );
}
- template<>Uint8 ReadValueFromLua<Uint8>( lua_State *L, int Index )
+ template<>
+ Uint8 ReadValueFromLua<Uint8>( lua_State *L, int Index )
{
return ReadIntValueFromLua<Uint8>( L, Index );
}