Minor fixes

This commit is contained in:
SirLynix
2024-01-13 15:10:53 +01:00
committed by Jérôme Leclercq
parent f45c2c5008
commit 5c7059c8fc
32 changed files with 101 additions and 108 deletions

View File

@@ -51,7 +51,7 @@ namespace Nz::GL
if (activeUniformCount > 0)
{
uniformIndices.resize(static_cast<std::size_t>(activeUniformCount));
uniformIndices.resize(SafeCaster(activeUniformCount));
context.glGetActiveUniformBlockiv(m_objectId, uniformBlockIndex, GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES, uniformIndices.data());
}