Skip to content

Commit

Permalink
GS/DX11: Fix crash with debug device
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Dec 31, 2023
1 parent 3a72b3f commit 4a960bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/GS/Renderers/DX11/GSTexture11.cpp
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4a960bb

Please sign in to comment.