AMF icon indicating copy to clipboard operation
AMF copied to clipboard

[Question]: `m_contextAMF` in class `AMFDDAPISourceImpl` seems useless

Open UMU618 opened this issue 8 months ago • 1 comments

In the class AMFDDAPISourceImpl(file GPUOpen-LibrariesAndSDKs\AMF\amf\public\src\components\DisplayCapture\DDAPISource.cpp), there is a member m_contextAMF, and it seems useless.

m_deviceAMF->GetImmediateContext(&m_contextAMF);

Is it necessary to add a reference count to ID3D11DeviceContext, while not using it?

UMU618 avatar May 03 '25 16:05 UMU618

Some leftover. We will remove it.

MikhailAMD avatar May 06 '25 13:05 MikhailAMD