diff options
Diffstat (limited to 'RenderScript/src/ViewportParser.cpp')
| -rw-r--r-- | RenderScript/src/ViewportParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RenderScript/src/ViewportParser.cpp b/RenderScript/src/ViewportParser.cpp index 3f4dc06..555baa3 100644 --- a/RenderScript/src/ViewportParser.cpp +++ b/RenderScript/src/ViewportParser.cpp @@ -117,7 +117,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 NumViewports = static_cast<Uint32>( m_Viewports.size() ); |
