mirror of
https://github.com/glfw/glfw.git
synced 2026-01-12 07:43:16 +01:00
Cocoa: Disable shadow for transparent framebuffer
This commit is contained in:
@@ -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]];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user