summaryrefslogtreecommitdiffstats
path: root/RenderScript/src/ScriptParser.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2017-11-13 03:18:57 +0000
committerEgor Yusov <egor.yusov@gmail.com>2017-11-13 03:18:57 +0000
commit5e3941de79b573b8798f6a6bcd4eaf544c48cde2 (patch)
tree77f33c32420cec66a88f24555f7211c02136468a /RenderScript/src/ScriptParser.cpp
parentMerge from dev branch (diff)
downloadDiligentTools-5e3941de79b573b8798f6a6bcd4eaf544c48cde2.tar.gz
DiligentTools-5e3941de79b573b8798f6a6bcd4eaf544c48cde2.zip
Updated to version 2.1
Diffstat (limited to 'RenderScript/src/ScriptParser.cpp')
-rw-r--r--RenderScript/src/ScriptParser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/RenderScript/src/ScriptParser.cpp b/RenderScript/src/ScriptParser.cpp
index 8f23f8d..8e65d75 100644
--- a/RenderScript/src/ScriptParser.cpp
+++ b/RenderScript/src/ScriptParser.cpp
@@ -85,7 +85,8 @@ namespace Diligent
m_pScriptParser->m_pScissorRectParser->PushObject( L, &Rect );
}
- ScriptParser::ScriptParser( IRenderDevice *pRenderDevice ) :
+ ScriptParser::ScriptParser( IReferenceCounters *pRefCounters, IRenderDevice *pRenderDevice ) :
+ TBase(pRefCounters),
m_pRenderDevice( pRenderDevice ),
m_LuaState( LuaState::LUA_LIB_BASE | LuaState::LUA_LIB_COROUTINE | LuaState::LUA_LIB_TABLE |
LuaState::LUA_LIB_STRING | LuaState::LUA_LIB_BIT32 | LuaState::LUA_LIB_MATH )