Skip to content

[Question]: m_contextAMF in class AMFDDAPISourceImpl seems useless #551

@UMU618

Description

@UMU618

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions