winemac: Override -[NSOpenGLContext clearDrawable] to not hide the GL surface.
authorKen Thomases <ken@codeweavers.com>
Sun, 10 Mar 2013 22:38:30 +0000 (17:38 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 11 Mar 2013 09:44:26 +0000 (10:44 +0100)
commit4d51a688e37d070d6345587d63facbc630a43a3d
tree66c777aac052ec8bfd05bae2bc7f2b211218308e
parent89a4e5a6d1c77646fd397e3419a91a08533bbfb4
winemac: Override -[NSOpenGLContext clearDrawable] to not hide the GL surface.

This fixes a problem with flickering when repeatedly attaching and detaching
a GL context from a window, such as for each WM_PAINT.
dlls/winemac.drv/cocoa_opengl.m