diff options
Diffstat (limited to 'RenderScript/src/ScissorRectParser.cpp')
| -rw-r--r-- | RenderScript/src/ScissorRectParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RenderScript/src/ScissorRectParser.cpp b/RenderScript/src/ScissorRectParser.cpp index ecc60a8..a36036d 100644 --- a/RenderScript/src/ScissorRectParser.cpp +++ b/RenderScript/src/ScissorRectParser.cpp @@ -108,7 +108,7 @@ namespace Diligent } } - if( RTWidth == 0 && RTHeight != 0 || RTWidth != 0 && RTHeight == 0 ) + if( (RTWidth == 0 && RTHeight != 0) || (RTWidth != 0 && RTHeight == 0) ) SCRIPT_PARSING_ERROR( L, "Render target size is incomplete (", RTWidth, "x", RTHeight, "). Use either 0x0 or fully specified size" ); Uint32 NumScissorRects = static_cast<Uint32>( m_ScissorRects.size() ); |
