mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 22:14:34 +00:00
Cocoa: Disable shadow for transparent framebuffer
This commit is contained in:
parent
4b20fb705b
commit
9883cb64f0
@ -868,6 +868,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]];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user