[Bug 45279] Final Fantasy XI crashes on startup

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Oct 3 22:31:25 CDT 2018


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

Andrew Wesie <awesie at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |awesie at gmail.com

--- Comment #12 from Andrew Wesie <awesie at gmail.com> ---
The error:

0036:trace:d3d:buffer_init Not creating a BO because the buffer is not GPU
accessible.

is the root cause. If the vertex buffer does not have a BO, then
GL_ARRAY_BUFFER == 0 when context_load_numbered_arrays calls
glVertexAttribPointer. Since element->data.addr is a pointer into heap memory
(and non-zero), this makes Mesa very unhappy because Wine is violating the
opengl spec.

The attached patch forces a vertex buffer to be GPU-accessible, which causes a
BO to be used and the call to glVertexAttribPointer to now be valid.

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