mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 00:28:21 +00:00
gl/cocoa: Use NSRect instead of CGRect
On 64 bit systems they're typedefs of each other but on 32 bit systems not, and we pass the rect to an API that expects a NSRect
This commit is contained in:
parent
3970a35fd6
commit
c6f4b5a14f
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ _set_render_rectangle (gpointer data)
|
|||
}
|
||||
|
||||
view = [internal_win_id contentView];
|
||||
CGRect newMainViewFrame = CGRectMake(render->rect.x,
|
||||
NSRect newMainViewFrame = NSMakeRect(render->rect.x,
|
||||
render->rect.y,
|
||||
render->rect.w,
|
||||
render->rect.h);
|
||||
|
|
Loading…
Reference in a new issue