summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-07-02 00:08:59 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-07-02 00:08:59 +0000
commit354898decf45d32a09d9b4a15319413a5d199f2a (patch)
tree61e46f6cb4fc324338903c79292c9c995e3f67ef /Graphics/GraphicsEngineOpenGL
parentReworked how render targets are bound in Vulkan: added RenderPass cache (diff)
downloadDiligentCore-354898decf45d32a09d9b4a15319413a5d199f2a.tar.gz
DiligentCore-354898decf45d32a09d9b4a15319413a5d199f2a.zip
Reworked binding default frame buffer to keep references to current RTV and DSV instead of nulls.
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/include/SwapChainGLImpl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/include/SwapChainGLImpl.h b/Graphics/GraphicsEngineOpenGL/include/SwapChainGLImpl.h
index 85137adc..f3c01d18 100644
--- a/Graphics/GraphicsEngineOpenGL/include/SwapChainGLImpl.h
+++ b/Graphics/GraphicsEngineOpenGL/include/SwapChainGLImpl.h
@@ -56,6 +56,9 @@ public:
virtual void SetWindowedMode()override final;
virtual GLuint GetDefaultFBO()const override final{ return 0; }
+
+ virtual ITextureView* GetCurrentBackBufferRTV()override final{return nullptr;}
+ virtual ITextureView* GetDepthBufferDSV()override final{return nullptr;}
};
}