Skip to content

Commit 775ae7c

Browse files
committed
fix(dlss): pass Streamline CreateDXGIFactory2 if invalid flags
1 parent 513a818 commit 775ae7c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/utils/dlss/streamline_v2.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -643,9 +643,6 @@ SL_API HRESULT Hooked_CreateDXGIFactory2(UINT flags, REFIID riid, void** ppFacto
643643
#endif
644644

645645
if (!SUPPORT_UNKNOWN_CREATE_DXGI_FACTORY2_FLAGS && (flags & ~CREATE_DXGI_FACTORY2_ALLOWED_FLAGS) != 0u) {
646-
if (renodx::utils::directx::pCreateDXGIFactory2 != nullptr) {
647-
return renodx::utils::directx::pCreateDXGIFactory2(flags, riid, ppFactory);
648-
}
649646
if (Real_CreateDXGIFactory2 != nullptr) {
650647
return Real_CreateDXGIFactory2(flags, riid, ppFactory);
651648
}

0 commit comments

Comments
 (0)