From c13e13a5fe6848a462c9c05e5b4e1724eec62323 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 29 Nov 2019 10:22:52 -0800 Subject: Vulkan backend: fixed 32-bit build --- Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineOpenGL') 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(m_BoundStorageBlocks.size())) m_BoundStorageBlocks.resize(Index + 1); if (!(m_BoundStorageBlocks[Index] == NewSSBOInfo)) -- cgit v1.2.3