New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
D3DBase: Use the correct version of CreateDXGIFactory. #6014
Conversation
0e9abcb
to
b2811fe
Compare
|
As expected, this breaks directx on windows 7. When selecting directx, an error pops up:"Critical error" "GetProcAddress failed for CreateDXGIFactor2!", and Dolphin just closes when clicking ok. |
|
@mimimi085181 Thanks for the quick test. This is a bit unexpected because Windows 7 does support the
So CreateDXGIFactory2 is only required for the debug flag and it looks like I didn't use that correctly anyway. |
|
Well, according to microsoft DXGI 1.3 is only supported on windows 8.1+, which is why i expected this to fail. I guess that's part of the directx 11.1 features that are not supported on windows 7, or something like that. |
|
Correct, but |
|
Now it works, thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
1 report that this broke D3D11 on Windows 7. |
|
@Helios747 According to MSDN the only way this could error out on Windows 7 is if they haven't run Windows Update in a long, long time. If it doesn't work after the platform update we could query for |
This is a big oversight on my part, I'm not sure why it seems to work correctly. I guess even though we request the incorrect version, the underlying object still supports the newer interfaces.