Add missing IDXGIFactory4.AddRef() to IDXGIFactory6 fallback
This fixes an AccessViolationException when IDXGIFactory6 is not available
このコミットが含まれているのは:
1 親
8b89c5b694
コミット
dc0c1204d7
1ファイル変更
+2
@@ -162,6 +162,8 @@ internal static partial class DeviceHelper
|
||||
@this->lpVtbl = Vtbl;
|
||||
@this->dxgiFactory4 = dxgiFactory4;
|
||||
|
||||
_ = dxgiFactory4->AddRef();
|
||||
|
||||
*dxgiFactory6 = (IDXGIFactory6*)@this;
|
||||
}
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする