diff --git a/src/cocoa_platform.h b/src/cocoa_platform.h index 32d1c213..0e2af374 100644 --- a/src/cocoa_platform.h +++ b/src/cocoa_platform.h @@ -59,7 +59,7 @@ typedef void* id; typedef struct _GLFWwindowNS { id object; - id delegate; + id delegate; id view; unsigned int modifierFlags; diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 143a43b3..d005ced2 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -107,7 +107,7 @@ static GLboolean enterFullscreenMode(_GLFWwindow* window) // NOTE: The window is resized despite mode setting failure to make // glfwSetWindowSize more robust [window->ns.object setFrame:[getScreen(window->monitor->ns.displayID) frame] - display:YES]; + display:YES]; return status; }