https://bugs.winehq.org/show_bug.cgi?id=34166
fxcoudert@gcc.gnu.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert@gcc.gnu.org
--- Comment #100 from fxcoudert@gcc.gnu.org --- Following on Apple's feedback quoted above, which was:
It seems to me that in the last response to Apple, they suggested setting the kCGLPFABackingStore pixel format attribute. They also say that they would have to dig deeper if we are already doing that.
I wanted to see if that could help. Therefore I wrote a crude patch to winemac.drv/opengl.c that adds kCGLPFABackingStore to every single pixel format, i.e., to every call to CGLChoosePixelFormat(). That patch can be found at: https://gist.github.com/fxcoudert/539dc389d5f651bf713f684d43bb254b
We received user feedback (https://github.com/Homebrew/homebrew-core/pull/26114#issuecomment-379534814) that this patch, without the usual "hack", does seem to fix the issue. Could more users here test, with and without, and confirm?
If so, it would indicate that the issue is one or several missing kCGLPFABackingStore attributes in winemac.drv/opengl.c. I am not expert enough with the code to tell which one, but surely the Wine developers would know which are the affected buffers.