gl/cocoa: make sure to turn on frame rectangle changes notifications
Default value of property postsFrameChangedNotifications is YES but it is worth to explicitly enable it.
This commit is contained in:
parent
a259391c10
commit
2b487ef62b
@ -493,6 +493,7 @@ close_window_cb (gpointer data)
|
||||
#endif
|
||||
|
||||
/* Get notified about changes */
|
||||
[self setPostsFrameChangedNotifications:YES];
|
||||
[[NSNotificationCenter defaultCenter] addObserver: self selector:@selector(reshape:) name: NSViewFrameDidChangeNotification object: self];
|
||||
[self setWantsBestResolutionOpenGLSurface:YES];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user