mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 11:04:28 +01:00
GS/DX11: Fix crash with debug device
This commit is contained in:
1 parent
3a72b3fe3f
commit
4a960bba5e
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user