summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-11-29 18:22:52 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-11-29 18:22:52 +0000
commitc13e13a5fe6848a462c9c05e5b4e1724eec62323 (patch)
tree7685dd40855872fe4114c518013179dc1537363d /Graphics/GraphicsEngineOpenGL
parentFixed few vector initialization issues (diff)
downloadDiligentCore-c13e13a5fe6848a462c9c05e5b4e1724eec62323.tar.gz
DiligentCore-c13e13a5fe6848a462c9c05e5b4e1724eec62323.zip
Vulkan backend: fixed 32-bit build
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp b/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp
index 19b8197f..e8501cb5 100644
--- a/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp
@@ -309,7 +309,7 @@ void GLContextState::BindStorageBlock(Int32 Index, const GLObjectWrappers::GLBuf
{
#if GL_ARB_shader_storage_buffer_object
BoundSSBOInfo NewSSBOInfo{Buff.GetUniqueID(), Offset, Size};
- if (Index >= m_BoundStorageBlocks.size())
+ if (Index >= static_cast<Int32>(m_BoundStorageBlocks.size()))
m_BoundStorageBlocks.resize(Index + 1);
if (!(m_BoundStorageBlocks[Index] == NewSSBOInfo))