summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp4
2 files changed, 6 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.h b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.h
index bff4710d..6967f15a 100644
--- a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.h
+++ b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.h
@@ -78,6 +78,8 @@ public:
virtual void Flush()override final;
+ virtual void FinishFrame(bool ForceRelease)override final;
+
virtual void FinishCommandList(class ICommandList **ppCommandList)override final;
virtual void ExecuteCommandList(class ICommandList *pCommandList)override final;
diff --git a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
index 394542aa..e00af85c 100644
--- a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
@@ -976,6 +976,10 @@ namespace Diligent
glFlush();
}
+ void DeviceContextGLImpl::FinishFrame(bool ForceRelease)
+ {
+ }
+
void DeviceContextGLImpl::FinishCommandList(class ICommandList **ppCommandList)
{
LOG_ERROR("Deferred contexts are not supported in OpenGL mode");