Cocoa: Disable shadow for transparent framebuffer

This commit is contained in:
Camilla Löwy 2019-03-05 19:25:21 +01:00
parent 4b20fb705b
commit 9883cb64f0

View File

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