summaryrefslogtreecommitdiffstats
path: root/RenderScript/src
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-04-04 04:30:06 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-04-04 04:30:06 +0000
commit825e0bbba65579e49b45276c0872a559f365ad89 (patch)
tree6a71b4d35f038df11694c786b91ea5c66f5d917e /RenderScript/src
parentSome updates to texture loading routines. (diff)
downloadDiligentTools-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.cpp2
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));
}
);
}