remove unnecessary perf.
This commit is contained in:
@@ -322,7 +322,6 @@ void Duplicator::Duplicate(UINT timeout)
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
UDD_SCOPE_TIMER(CopyResource);
|
|
||||||
ComPtr<ID3D11DeviceContext> context;
|
ComPtr<ID3D11DeviceContext> context;
|
||||||
device_->GetDevice()->GetImmediateContext(&context);
|
device_->GetDevice()->GetImmediateContext(&context);
|
||||||
context->CopyResource(sharedTexture.Get(), texture.Get());
|
context->CopyResource(sharedTexture.Get(), texture.Get());
|
||||||
|
|||||||
Reference in New Issue
Block a user