Optimize GPU Resource name to prevent memory allocs when changing name frequently
This commit is contained in:
committed by
Wojtek Figat
parent
70cce0e1ee
commit
67c63f1410
@@ -38,7 +38,7 @@ public:
|
||||
GPUSwapChain::GPUSwapChain()
|
||||
{
|
||||
#if GPU_ENABLE_RESOURCE_NAMING
|
||||
_name = TEXT("Swap Chain (backbuffers)");
|
||||
SetName(TEXT("Swap Chain (backbuffers)"));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user