From 5e3941de79b573b8798f6a6bcd4eaf544c48cde2 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 12 Nov 2017 19:18:57 -0800 Subject: Updated to version 2.1 --- RenderScript/src/ScriptParser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'RenderScript/src/ScriptParser.cpp') 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 ) -- cgit v1.2.3