D3DCommon: Remove unused GetDebugObjectName and tidy up SetDebugObjectName

This commit is contained in:
Silent
2019-11-10 16:05:23 +01:00
parent 8445644e05
commit a68789a70c
2 changed files with 6 additions and 38 deletions

View File

@ -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