winemac: Make WineOpenGLContext hold a strong reference to its view.
commite21192469dbd3c234e1051504b6429bd9cfb0dcf
authorKen Thomases <ken@codeweavers.com>
Tue, 14 Jan 2014 07:25:08 +0000 (14 01:25 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 14 Jan 2014 10:17:40 +0000 (14 11:17 +0100)
tree0f7eda53641b51a3e62160b846161da99f802e7a
parent2963a2d4ab8c1843a97e9086fd0c2f7c5c843aec
winemac: Make WineOpenGLContext hold a strong reference to its view.

Its superclass, NSOpenGLContext, only holds a weak reference.  The view was
sometimes being deallocated before the context was disposed of, resulting in
crashes.
dlls/winemac.drv/cocoa_opengl.m