winemac: Clear OpenGL views to black the first time a context is attached.
commit4124478b8526d04b0049aae980c0674230136cc7
authorKen Thomases <ken@codeweavers.com>
Wed, 27 Nov 2013 21:33:19 +0000 (27 15:33 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 28 Nov 2013 10:16:17 +0000 (28 11:16 +0100)
treeea7cce2f5df52bfc36b47373d5fcffad6794ae12
parentfd04552fe3d2acfc487192f7c6696526bd8c9950
winemac: Clear OpenGL views to black the first time a context is attached.

This prevents VRAM garbage from being displayed before the program draws.
dlls/winemac.drv/cocoa_opengl.h
dlls/winemac.drv/cocoa_opengl.m
dlls/winemac.drv/cocoa_window.m