Cocoa: Disable shadow for transparent framebuffer

From upstream: 9883cb64f0
This commit is contained in:
Kovid Goyal 2019-03-06 09:12:16 +05:30
parent 4c4c6ab0e6
commit a1c49a0f7f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1314,6 +1314,7 @@ static GLFWbool createNativeWindow(_GLFWwindow* window,
if (fbconfig->transparent)
{
[window->ns.object setOpaque:NO];
[window->ns.object setHasShadow:NO];
[window->ns.object setBackgroundColor:[NSColor clearColor]];
}