summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2021-03-14 02:11:59 +0000
committerassiduous <assiduous@diligentgraphics.com>2021-03-19 00:38:22 +0000
commit00219a5bdbe63aee3957de193fe640f499f01eb4 (patch)
tree5bb5cddda4b76861fe5f0e8d2120f9b085bd2173 /Graphics/GraphicsEngineOpenGL
parentDirect3D11: added BindPointsD3D11 instead of TBindPoints and TBindPointsAndAc... (diff)
downloadDiligentCore-00219a5bdbe63aee3957de193fe640f499f01eb4.tar.gz
DiligentCore-00219a5bdbe63aee3957de193fe640f499f01eb4.zip
Renamed Align to AlignUp
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/ShaderResourcesGL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/ShaderResourcesGL.cpp b/Graphics/GraphicsEngineOpenGL/src/ShaderResourcesGL.cpp
index 8a27e3cd..43a528c0 100644
--- a/Graphics/GraphicsEngineOpenGL/src/ShaderResourcesGL.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/ShaderResourcesGL.cpp
@@ -104,7 +104,7 @@ void ShaderResourcesGL::AllocateResources(std::vector<UniformBufferInfo>& Unifor
StringPoolDataSize += strlen(sb.Name) + 1;
}
- auto AlignedStringPoolDataSize = Align(StringPoolDataSize, sizeof(void*));
+ auto AlignedStringPoolDataSize = AlignUp(StringPoolDataSize, sizeof(void*));
// clang-format off
size_t TotalMemorySize =