mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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
4a736caded
commit
f44b430bc7
1 changed files with 1 additions and 0 deletions
|
@ -493,6 +493,7 @@ close_window_cb (gpointer data)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Get notified about changes */
|
/* Get notified about changes */
|
||||||
|
[self setPostsFrameChangedNotifications:YES];
|
||||||
[[NSNotificationCenter defaultCenter] addObserver: self selector:@selector(reshape:) name: NSViewFrameDidChangeNotification object: self];
|
[[NSNotificationCenter defaultCenter] addObserver: self selector:@selector(reshape:) name: NSViewFrameDidChangeNotification object: self];
|
||||||
[self setWantsBestResolutionOpenGLSurface:YES];
|
[self setWantsBestResolutionOpenGLSurface:YES];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue