diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2017-11-13 03:18:57 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2017-11-13 03:18:57 +0000 |
| commit | 5e3941de79b573b8798f6a6bcd4eaf544c48cde2 (patch) | |
| tree | 77f33c32420cec66a88f24555f7211c02136468a /RenderScript/src/ViewportParser.cpp | |
| parent | Merge from dev branch (diff) | |
| download | DiligentTools-5e3941de79b573b8798f6a6bcd4eaf544c48cde2.tar.gz DiligentTools-5e3941de79b573b8798f6a6bcd4eaf544c48cde2.zip | |
Updated to version 2.1
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() ); |
