Skip to content
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

HRESULT 0x80004002 #37

Open
cfzd opened this issue Sep 4, 2018 · 1 comment
Open

HRESULT 0x80004002 #37

cfzd opened this issue Sep 4, 2018 · 1 comment

Comments

@cfzd
Copy link

cfzd commented Sep 4, 2018

In the presentCallback function,

ComPtr<ID3D11DeviceContext> ctx;
ComPtr<ID3D11Multithread> multithread;
hr = ctx.As(&multithread);
if (hr != S_OK) throw std::system_error(hr, std::system_category());
multithread->SetMultithreadProtected(true);

the returned HRESULT is 0x80004002, which means E_NOINTERFACE error. Any way to solve this problem?

https://github.com/umautobots/GTAVisionExport/blob/master/native/src/main.cpp#L276

@barcharcraz
Copy link
Contributor

This may be a graphics driver problem, or a GTA update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants