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
9a3ee4838f
commit
b747ae9657
@ -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…
x
Reference in New Issue
Block a user