winex11: Maintain the swap interval when the drawable is recreated.
commit4325ecdca841d6d161f723339afe9277f5d09704
authorKen Thomases <ken@codeweavers.com>
Tue, 1 Apr 2014 02:46:48 +0000 (31 21:46 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 1 Apr 2014 08:44:34 +0000 (1 10:44 +0200)
tree9b5eb6497e6fd2ebc5b870afc0ee86491307fba0
parenta4c6107d81422dcd7cec507e18ba66764cab855c
winex11: Maintain the swap interval when the drawable is recreated.

The swap interval is a property of the GLX drawable, which is destroyed and
recreated by set_gl_drawable_parent() and wglSetPixelFormatWINE().  When that
happens, copy the interval from the old gl_drawable and apply it at the next
call to wglSwapBuffers().
dlls/winex11.drv/opengl.c