https://bugs.winehq.org/show_bug.cgi?id=38402 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral(a)gmail.com --- Comment #4 from Matteo Bruni <matteo.mystral(a)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.