GS/DX11: Fix crash with debug device

This commit is contained in:
Stenzek authored and Connor McLaughlin committed 2023-12-31 16:19:03 +10:00
1 parent 3a72b3fe3f
commit 4a960bba5e
1 file changed
+1 -1
+1 -1
View File
@@ -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