gsdx-ogl: Add detection of Sparse Depth in isDss()

This commit is contained in:
Kojin 2019-02-17 01:02:32 -05:00 committed by lightningterror
parent 55e95cc552
commit 9618283217
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class GSTextureOGL final : public GSTexture
bool Save(const std::string& fn) final; bool Save(const std::string& fn) final;
bool IsBackbuffer() { return (m_type == GSTexture::Backbuffer); } 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; } uint32 GetID() final { return m_texture_id; }
bool HasBeenCleaned() { return m_clean; } bool HasBeenCleaned() { return m_clean; }