umautobots / GTAVisionExport

Code to export full segmentations from GTA
MIT License
126 stars 42 forks source link

HRESULT 0x80004002 #37

Open cfzd opened 6 years ago

cfzd commented 6 years ago

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 commented 6 years ago

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