diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-04-04 04:30:06 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-04-04 04:30:06 +0000 |
| commit | 825e0bbba65579e49b45276c0872a559f365ad89 (patch) | |
| tree | 6a71b4d35f038df11694c786b91ea5c66f5d917e /RenderScript/src | |
| parent | Some updates to texture loading routines. (diff) | |
| download | DiligentTools-825e0bbba65579e49b45276c0872a559f365ad89.tar.gz DiligentTools-825e0bbba65579e49b45276c0872a559f365ad89.zip | |
Minor update to comply with updated graphics types
Diffstat (limited to 'RenderScript/src')
| -rw-r--r-- | RenderScript/src/PSODescParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RenderScript/src/PSODescParser.cpp b/RenderScript/src/PSODescParser.cpp index b8a9109..b6c17ae 100644 --- a/RenderScript/src/PSODescParser.cpp +++ b/RenderScript/src/PSODescParser.cpp @@ -71,7 +71,7 @@ namespace Diligent SCRIPT_PARSING_ERROR( L, "Render target array index ", NewArrayIndex," is out of allowed range [", 0, ' ', MaxRenderTargets-1, ']' ); m_TexFmtLoader.SetValue(L, StackIndex, &GraphicsPipeline.RTVFormats[NewArrayIndex]); - GraphicsPipeline.NumRenderTargets = std::max(GraphicsPipeline.NumRenderTargets, static_cast<Uint32>(NewArrayIndex+1)); + GraphicsPipeline.NumRenderTargets = std::max(GraphicsPipeline.NumRenderTargets, static_cast<Uint8>(NewArrayIndex+1)); } ); } |
