diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-11-29 18:22:52 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-11-29 18:22:52 +0000 |
| commit | c13e13a5fe6848a462c9c05e5b4e1724eec62323 (patch) | |
| tree | 7685dd40855872fe4114c518013179dc1537363d /Graphics/GraphicsEngineOpenGL | |
| parent | Fixed few vector initialization issues (diff) | |
| download | DiligentCore-c13e13a5fe6848a462c9c05e5b4e1724eec62323.tar.gz DiligentCore-c13e13a5fe6848a462c9c05e5b4e1724eec62323.zip | |
Vulkan backend: fixed 32-bit build
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
| -rw-r--r-- | Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp | 2 |
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)) |
