Cocoa: Disable shadow for transparent framebuffer

master
Camilla Löwy ago%!(EXTRA string=6 years)
parent 4b20fb705b
commit 9883cb64f0
  1. 1
      src/cocoa_window.m

@ -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]];
} }

Loading…
Cancel
Save