Clean up DXGI adapter enumeration code
This commit is contained in:
parent
a1c350a537
commit
2480849f39
2 changed files with 24 additions and 33 deletions
|
|
@ -34,7 +34,7 @@ private:
|
|||
void bindColorConversion(AVFrame* frame);
|
||||
void renderVideo(AVFrame* frame);
|
||||
bool checkDecoderSupport(IDXGIAdapter* adapter);
|
||||
bool createDeviceByAdapterIndex(int adapterIndex, bool* indexWasInvalid = nullptr);
|
||||
bool createDeviceByAdapterIndex(int adapterIndex, bool* adapterNotFound = nullptr);
|
||||
|
||||
IDXGIFactory5* m_Factory;
|
||||
ID3D11Device* m_Device;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue