From b747ae9657950751e312693db16f0cac6da9d327 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 25 Apr 2018 01:08:58 +0300 Subject: [PATCH] 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 --- gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m index ab1d4e1..ce101ac 100644 --- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m +++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m @@ -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); -- 2.7.4