From c09883fbe3951cd77543003ae1c6fdf6e5a11517 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 14 Apr 2018 11:29:09 -0700 Subject: Moved primitive topology from draw attribs to pipeline desc; fixed multiple issue with mismatching types used by Lua parsers --- RenderScript/src/ScissorRectParser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'RenderScript/src/ScissorRectParser.cpp') diff --git a/RenderScript/src/ScissorRectParser.cpp b/RenderScript/src/ScissorRectParser.cpp index 1123462..b37b75f 100644 --- a/RenderScript/src/ScissorRectParser.cpp +++ b/RenderScript/src/ScissorRectParser.cpp @@ -35,10 +35,10 @@ namespace Diligent m_ScissorRects.reserve( 8 ); // NumVertices and NumIndices are in Union - DEFINE_BINDER( m_Bindings, Rect, left, Int32, Validator() ) - DEFINE_BINDER( m_Bindings, Rect, top, Int32, Validator() ) - DEFINE_BINDER( m_Bindings, Rect, right, Int32, Validator() ) - DEFINE_BINDER( m_Bindings, Rect, bottom, Int32, Validator() ) + DEFINE_BINDER( m_Bindings, Rect, left ); + DEFINE_BINDER( m_Bindings, Rect, top ); + DEFINE_BINDER( m_Bindings, Rect, right ); + DEFINE_BINDER( m_Bindings, Rect, bottom ); }; void ScissorRectParser::CreateObj( lua_State *L ) -- cgit v1.2.3