mirror of
https://github.com/glfw/glfw.git
synced 2026-08-29 11:14:15 +02: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