winemac: Don't defer attaching OpenGL context to view if it is backed by a window...
authorKen Thomases <ken@codeweavers.com>
Sun, 10 Mar 2013 22:38:25 +0000 (17:38 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 11 Mar 2013 09:44:13 +0000 (10:44 +0100)
commit89a4e5a6d1c77646fd397e3419a91a08533bbfb4
treed4f3794fadfe3d2eca228e271f893f910660daa9
parentfd00c806bf0e3fc610412c3770c71e5eed7a5d72
winemac: Don't defer attaching OpenGL context to view if it is backed by a window device.

This fixes a problem with certain OpenGL programs which create a context very
briefly before destroying it, like while handling WM_PAINT.
dlls/winemac.drv/cocoa_opengl.m