mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Cleanup
This is an extract of a commit, minimally edited to ensure it compiles. Closes #1078. Related to #197.
This commit is contained in:
committed by
Camilla Löwy
parent
ac009a5f5c
commit
93e66661d3
+1
-1
@@ -1085,7 +1085,7 @@ static GLFWbool createNativeWindow(_GLFWwindow* window,
|
||||
if (wndconfig->ns.retina)
|
||||
[window->ns.view setWantsBestResolutionOpenGLSurface:YES];
|
||||
|
||||
if (window->transparent)
|
||||
if (_glfw.hints.framebuffer.transparent)
|
||||
{
|
||||
[window->ns.object setOpaque:NO];
|
||||
[window->ns.object setBackgroundColor:[NSColor clearColor]];
|
||||
|
||||
Reference in New Issue
Block a user