https://bugs.winehq.org/show_bug.cgi?id=43440
--- Comment #6 from BieHDC byi5000@gmail.com --- Created attachment 59404 --> https://bugs.winehq.org/attachment.cgi?id=59404 Stub for cuD3D10CtxCreate
Followup on this: https://dev.wine-staging.com/patches/201/ I have read you accepted my patch, thanks ;) Michael noted that the game is now crashing if you have Bokeh and/or GPU water simulation due to missing cuD3D10CtxCreate. I first tried to copy the D3D9 behaviour which was unsuccessful, but letting it return pcuGLCtxCreate() (see attachment) fixes the crash. GPU water is not successfully simulated, but at least we have a stub and no crashes :)
Needs testing, works for Just Cause 2
PS: this hint "otherwise we could use cuGLGetDevices" got me to the solution