mirror of https://github.com/PCSX2/pcsx2.git
GS/DX11: Fix crash with debug device
This commit is contained in:
parent
3a72b3fe3f
commit
4a960bba5e
|
@ -99,7 +99,7 @@ void GSTexture11::SetDebugName(std::string_view name)
|
|||
if (m_srv)
|
||||
GSDevice11::SetD3DDebugObjectName(m_srv.get(), fmt::format("{} SRV", name));
|
||||
if (m_rtv)
|
||||
GSDevice11::SetD3DDebugObjectName(m_srv.get(), fmt::format("{} RTV", name));
|
||||
GSDevice11::SetD3DDebugObjectName(m_rtv.get(), fmt::format("{} RTV", name));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue