https://bugs.winehq.org/show_bug.cgi?id=25912
Ruslan Kabatsayev b7.10110111@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51739|0 |1 is obsolete| |
--- Comment #50 from Ruslan Kabatsayev b7.10110111@gmail.com --- Created attachment 51745 --> https://bugs.winehq.org/attachment.cgi?id=51745 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. This test can be compiled even with stock winegcc like this: winegcc wine-test.c -o test -lopengl32 -lgdi32
Or, if you wish to test on real Windows, you can use MinGW-GCC: gcc wine-test.c -o wine-test.exe -lopengl32 -lgdi32 -mwindows
Like in the previous test, here's a button "Toggle color", pushing which should switch the color from white to black and vice-versa, putting "white" or "black" into window title. On wine there's a problem, on Windows there's none.