[Bug 42119] Unigine Heaven Benchmark 4.0 not working in dx11 mode
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Feb 6 22:07:36 CST 2019
https://bugs.winehq.org/show_bug.cgi?id=42119
--- Comment #6 from Sergey Isakov <isakov-sl at bk.ru> ---
Something new here.
I tested Staging-4.1 and force SmModel to be 5, it can be set lower by
registry.
I got a crash
~~~~
Backtrace:
=>0 0x40e648ac d3d11_immediate_context_Begin+0x5c() in d3d11 (0x0033edd4)
~~~~
It appears because the function called with zero pointer.
So I write as follow
~~~~
static void STDMETHODCALLTYPE
d3d11_immediate_context_Begin(ID3D11DeviceContext1 *iface,
ID3D11Asynchronous *asynchronous)
{
struct d3d_query *query =
unsafe_impl_from_ID3D11Asynchronous(asynchronous);
HRESULT hr;
+ if (!query) {
+ ERR("no query\n");
+ return;
}
~~~
as well as in other functions.
The game started! But main scene without 3D graphics, menu and messages
presents
The log shows the error
~~~
01e5:err:d3d11:d3d11_immediate_context_Begin no query
00e6:fixme:d3d:create_texture_view OpenGL implementation does not support
texture views.
~~~
There are other FIXMEs in log.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list