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