mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue