summaryrefslogtreecommitdiffstats
path: root/RenderScript/src/ScriptParser.cpp
diff options
context:
space:
mode:
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 )