winemac: Move test for valid GL drawable into -[WineContentView addGLContext:].
commitfd04552fe3d2acfc487192f7c6696526bd8c9950
authorKen Thomases <ken@codeweavers.com>
Wed, 27 Nov 2013 21:32:46 +0000 (27 15:32 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 28 Nov 2013 10:16:12 +0000 (28 11:16 +0100)
treed147aa27d46b02fedd43831014cdafddf5a9126e
parent6d0d018bfa0a1d27c2d540fb688b29f0e5b6e21a
winemac: Move test for valid GL drawable into -[WineContentView addGLContext:].

Improves encapsulation.  Avoids a round trip to the main thread.
dlls/winemac.drv/cocoa_opengl.m
dlls/winemac.drv/cocoa_window.m