[PATCH 1/2] winex11: Don't reset OpenGL swap interval of window on SetParent().

Ken Thomases ken at codeweavers.com
Fri Mar 21 00:18:58 CDT 2014


The swap interval was initialized to 1 in create_gl_drawable(), but that's
not only called when the GL drawable is first created.  It's also called by
set_gl_drawable_parent() to recreate the XLib drawable for the GL drawable
when its parent is changed, but the swap interval shouldn't be reinitialized
in that case.
---
dlls/opengl32/tests/opengl.c | 16 +++++++++++++---
dlls/winex11.drv/opengl.c    |  8 ++++----
2 files changed, 17 insertions(+), 7 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winex11-Don-t-reset-OpenGL-swap-interval-of-window-o.patch
Type: text/x-patch
Size: 2963 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140321/959ea095/attachment.bin>


More information about the wine-patches mailing list