summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-11-06 05:43:17 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-11-06 05:43:17 +0000
commitdb5cfe224b9ff00234b29ff097262bc7377b90c4 (patch)
treee903167999d17f714223d00466fb4e9ace05c811 /Graphics/GraphicsEngineOpenGL
parentRenamed StringPool::Release to StringPool::Clear (diff)
downloadDiligentCore-db5cfe224b9ff00234b29ff097262bc7377b90c4.tar.gz
DiligentCore-db5cfe224b9ff00234b29ff097262bc7377b90c4.zip
Refactored BufferBase
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/BufferGLImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/BufferGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/BufferGLImpl.cpp
index ac99cfa0..97d7ddb7 100644
--- a/Graphics/GraphicsEngineOpenGL/src/BufferGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/BufferGLImpl.cpp
@@ -383,7 +383,7 @@ void BufferGLImpl::CreateViewInternal(const BufferViewDesc& OrigViewDesc, IBuffe
try
{
auto ViewDesc = OrigViewDesc;
- CorrectBufferViewDesc(ViewDesc);
+ ValidateAndCorrectBufferViewDesc(m_Desc, ViewDesc);
auto* pDeviceGLImpl = GetDevice();
auto& BuffViewAllocator = pDeviceGLImpl->GetBuffViewObjAllocator();