winemac: Consolidate code paths for clearing the OpenGL context.
commit2cc53379404bfb499461add373ddb42c77d224b4
authorKen Thomases <ken@codeweavers.com>
Tue, 14 Jan 2014 07:25:03 +0000 (14 01:25 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 14 Jan 2014 10:17:35 +0000 (14 11:17 +0100)
treeded0b26aa7a4af709c1d0cfbd1c975248b7199e4
parentd57a99b48274e2020382465bccc69df5aa24630e
winemac: Consolidate code paths for clearing the OpenGL context.

We clear it if the context or the view is NULL.  If the context is non-NULL,
we want to disassociate the views of both the current and passed-in contexts,
if they differ.
dlls/winemac.drv/cocoa_opengl.m