Fix struct pointer typo for OSX

This commit is contained in:
Bailey Cosier 2017-09-17 22:04:56 +07:00
parent 96d49ba28d
commit 680d10bbb5

View File

@ -1085,7 +1085,7 @@ static GLFWbool createNativeWindow(_GLFWwindow* window,
if (wndconfig->ns.retina) if (wndconfig->ns.retina)
[window->ns.view setWantsBestResolutionOpenGLSurface:YES]; [window->ns.view setWantsBestResolutionOpenGLSurface:YES];
if (_glfw.hints.framebuffer->transparent) if (_glfw.hints.framebuffer.transparent)
{ {
[window->ns.object setOpaque:NO]; [window->ns.object setOpaque:NO];
[window->ns.object setBackgroundColor:[NSColor clearColor]]; [window->ns.object setBackgroundColor:[NSColor clearColor]];