DDSTextureLoader, ScreenGrab, WICTextureLoader trimmed of some unused defines and fixed /W4 problem in release mode

This commit is contained in:
walbourn_cp
2013-06-19 13:05:55 -07:00
parent 72c9103b1d
commit 8c508c9b58
3 changed files with 6 additions and 14 deletions

View File

@@ -86,6 +86,9 @@ inline void SetDebugObjectName(_In_ ID3D11DeviceChild* resource, _In_ const char
{
#if defined(_DEBUG) || defined(PROFILE)
resource->SetPrivateData(WKPDID_D3DDebugObjectName, TNameLength - 1, name);
#else
UNREFERENCED_PARAMETER(resource);
UNREFERENCED_PARAMETER(name);
#endif
}