GS/DX11: Fix crash with debug device

This commit is contained in:
Stenzek 2023-12-31 16:17:55 +10:00 committed by Connor McLaughlin
parent 3a72b3fe3f
commit 4a960bba5e
1 changed files with 1 additions and 1 deletions

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