summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
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 e05d72ff..6aa1dd3e 100644
--- a/Graphics/GraphicsEngineOpenGL/src/BufferGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/BufferGLImpl.cpp
@@ -93,7 +93,7 @@ BufferGLImpl::BufferGLImpl(IReferenceCounters* pRefCounters,
if (m_Desc.Usage == USAGE_UNIFIED)
{
- DecayUnifiedBuffer();
+ LOG_ERROR_AND_THROW("Unified resources are not supported in OpenGL/GLES");
}
if (m_Desc.Usage == USAGE_STATIC)