summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2019-12-23 18:44:13 +0000
committerassiduous <assiduous@diligentgraphics.com>2019-12-23 18:44:13 +0000
commit9393ce98a7c6f0a969510503f3b2cf64198273ba (patch)
tree97ae6d4fd88d317af36f34f9ae31fd9ffaceaa1e /Graphics/GraphicsEngineOpenGL
parentFixed formatting (diff)
downloadDiligentCore-9393ce98a7c6f0a969510503f3b2cf64198273ba.tar.gz
DiligentCore-9393ce98a7c6f0a969510503f3b2cf64198273ba.zip
Renamed MAP_FLAG_DO_NOT_SYNCHRONIZE flag to MAP_FLAG_NO_OVERWRITE (API version )
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 9c1f58e2..81d443a7 100644
--- a/Graphics/GraphicsEngineOpenGL/src/BufferGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/BufferGLImpl.cpp
@@ -296,7 +296,7 @@ void BufferGLImpl::MapRange(GLContextState& CtxState, MAP_TYPE MapType, Uint32 M
Access |= GL_MAP_INVALIDATE_BUFFER_BIT;
}
- if (MapFlags & MAP_FLAG_DO_NOT_SYNCHRONIZE)
+ if (MapFlags & MAP_FLAG_NO_OVERWRITE)
{
// If GL_MAP_UNSYNCHRONIZED_BIT flag is set, OpenGL will not attempt to synchronize
// operations on the buffer.