https://bugs.winehq.org/show_bug.cgi?id=52236
--- Comment #8 from Sagawa sagawa.aki+winebugs@gmail.com --- I forgot to mention additional trace messages. To show whether the patch works, I added the following messages in the branches: "wglSetPixelFormatWINE with 0" for wined3d_context_gl_cleanup, "!format && allow_change" for set_pixel_format.