mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: Add detection of Sparse Depth in isDss()
This commit is contained in:
parent
55e95cc552
commit
9618283217
|
@ -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; }
|
||||||
|
|
Loading…
Reference in New Issue