mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
D3DCommon: Remove unused GetDebugObjectName and tidy up SetDebugObjectName
This commit is contained in:
parent
8445644e05
commit
a68789a70c
2 changed files with 6 additions and 38 deletions
|
@ -41,6 +41,5 @@ AbstractTextureFormat GetAbstractFormatForDXGIFormat(DXGI_FORMAT format);
|
|||
// This function will assign a name to the given resource.
|
||||
// The DirectX debug layer will make it easier to identify resources that way,
|
||||
// e.g. when listing up all resources who have unreleased references.
|
||||
void SetDebugObjectName(IUnknown* resource, const char* format, ...);
|
||||
std::string GetDebugObjectName(IUnknown* resource);
|
||||
void SetDebugObjectName(IUnknown* resource, std::string_view name);
|
||||
} // namespace D3DCommon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue