[Bug 38402] glDebugMessageCallback has mismatched calling convention

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 22 06:31:45 CDT 2015


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

Matteo Bruni <matteo.mystral at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matteo.mystral at gmail.com

--- Comment #4 from Matteo Bruni <matteo.mystral at gmail.com> ---
We need to store the address of the user callback somewhere (in struct
opengl_context maybe) and register our wrapper to OpenGL in
glDebugMessageCallback*(). Our wrapper will in turn call the user callback
taking care of the calling convention mismatch.
I had a shot at writing a patch for this but I never completed it and I'm not
sure when I'll get to it again. If someone else wants to try, be my guest.

I don't think there is much we can do about the non-DEBUG_OUTPUT_SYNCHRONOUS
case unfortunately.

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