https://bugs.winehq.org/show_bug.cgi?id=25912
--- Comment #51 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Ruslan Kabatsayev from comment #50)
Created attachment 51745 [details] Pure WGL test case
OK, I've managed to reproduce the problem with pure WGL, without any dependencies like GLUT or Qt. The problem appears to be only when the OpenGL window is a child of another, toplevel, window.
Thanks for the testcase and yes, you are probably correct.
If you want to give a stab at fixing this, the patch from comment 14 is probably still the latest attempt I know of. At the very least it needs to be retested with current versions of various GL drivers.