[Bug 42119] Unigine Heaven Benchmark 4.0 not working in dx11 mode ( Mac Os X)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Feb 18 20:59:03 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=42119

--- Comment #9 from Sergey Isakov <isakov-sl at bk.ru> ---
Created attachment 63630
  --> https://bugs.winehq.org/attachment.cgi?id=63630
GL_ARB_map_buffer_range is not supported

I found in adapter_gl.c a note
~~~
        /* GL_ARB_map_buffer_range and GL_APPLE_flush_buffer_range provide the
same
        * functionality. Prefer the ARB extension */
~~~
and then check with glxinfo.
Yes, I have no GL_ARB_map_buffer_range and I have GL_APPLE_flush_buffer_range.
This is macOS!

So there is a simple solution:
- if GL_APPLE_flush_buffer_range is supported then report to game that
GL_ARB_map_buffer_range is supported too.
- but we have not to use GL_ARB_map_buffer_range and use
GL_APPLE_flush_buffer_range when possible.

I know, this is macOS specific change and I am not sure if it reliable for
linux. May be it will be better to use conditions like
#ifdef _apple_

-- 
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