diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-04-14 18:29:09 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-04-14 18:29:09 +0000 |
| commit | c09883fbe3951cd77543003ae1c6fdf6e5a11517 (patch) | |
| tree | 4bbcf4b08d6825f904bb613f3463dcfda7964a61 /RenderScript/src/ScissorRectParser.cpp | |
| parent | Minor update to comply with updated graphics types (diff) | |
| download | DiligentTools-c09883fbe3951cd77543003ae1c6fdf6e5a11517.tar.gz DiligentTools-c09883fbe3951cd77543003ae1c6fdf6e5a11517.zip | |
Moved primitive topology from draw attribs to pipeline desc; fixed multiple issue with mismatching types used by Lua parsers
Diffstat (limited to 'RenderScript/src/ScissorRectParser.cpp')
| -rw-r--r-- | RenderScript/src/ScissorRectParser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<Int32>() ) - DEFINE_BINDER( m_Bindings, Rect, top, Int32, Validator<Int32>() ) - DEFINE_BINDER( m_Bindings, Rect, right, Int32, Validator<Int32>() ) - DEFINE_BINDER( m_Bindings, Rect, bottom, Int32, Validator<Int32>() ) + 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 ) |
