https://bugs.winehq.org/show_bug.cgi?id=38402
--- Comment #5 from Marcus Meissner marcus@jet.franken.de --- Created attachment 52429 --> https://bugs.winehq.org/attachment.cgi?id=52429 projects/wine/0002-opengl32-for-glDebugMessageCallback-use-thunks-for-W.patch
can you try this patch?
also the opengl32 test
I had to regenerate the autogenerated files, so its a bit larger.