summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp4
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp3
2 files changed, 7 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp
index 8b2651fd..ad9ff03b 100644
--- a/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp
+++ b/Graphics/GraphicsEngineOpenGL/include/DeviceContextGLImpl.hpp
@@ -35,6 +35,8 @@
#include "BufferGLImpl.hpp"
#include "TextureBaseGL.hpp"
#include "QueryGLImpl.hpp"
+#include "FramebufferGLImpl.hpp"
+#include "RenderPassGLImpl.hpp"
#include "PipelineStateGLImpl.hpp"
namespace Diligent
@@ -47,6 +49,8 @@ struct DeviceContextGLImplTraits
using PipelineStateType = PipelineStateGLImpl;
using DeviceType = RenderDeviceGLImpl;
using QueryType = QueryGLImpl;
+ using FramebufferType = FramebufferGLImpl;
+ using RenderPassType = RenderPassGLImpl;
};
/// Device context implementation in OpenGL backend.
diff --git a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
index bee081fb..c585137b 100644
--- a/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/DeviceContextGLImpl.cpp
@@ -405,16 +405,19 @@ void DeviceContextGLImpl::ResetRenderTargets()
void DeviceContextGLImpl::BeginRenderPass(const BeginRenderPassAttribs& Attribs)
{
+ TDeviceContextBase::BeginRenderPass(Attribs);
UNEXPECTED("Method not implemented");
}
void DeviceContextGLImpl::NextSubpass()
{
+ TDeviceContextBase::NextSubpass();
UNEXPECTED("Method not implemented");
}
void DeviceContextGLImpl::EndRenderPass()
{
+ TDeviceContextBase::EndRenderPass();
UNEXPECTED("Method not implemented");
}