From 96182832178ac27050da12c748f10f832be495d9 Mon Sep 17 00:00:00 2001 From: Kojin Date: Sun, 17 Feb 2019 01:02:32 -0500 Subject: [PATCH] gsdx-ogl: Add detection of Sparse Depth in isDss() --- plugins/GSdx/Renderers/OpenGL/GSTextureOGL.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/Renderers/OpenGL/GSTextureOGL.h b/plugins/GSdx/Renderers/OpenGL/GSTextureOGL.h index 69a38a5b21..136f620c60 100644 --- a/plugins/GSdx/Renderers/OpenGL/GSTextureOGL.h +++ b/plugins/GSdx/Renderers/OpenGL/GSTextureOGL.h @@ -74,7 +74,7 @@ class GSTextureOGL final : public GSTexture bool Save(const std::string& fn) final; bool IsBackbuffer() { return (m_type == GSTexture::Backbuffer); } - bool IsDss() { return (m_type == GSTexture::DepthStencil); } + bool IsDss() { return (m_type == GSTexture::DepthStencil || m_type == GSTexture::SparseDepthStencil); } uint32 GetID() final { return m_texture_id; } bool HasBeenCleaned() { return m_clean; }