mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-03 07:22:15 +00:00
(CGL) Some more CXX_BUILD fixes
This commit is contained in:
parent
227c986143
commit
79dda43dbb
@ -259,9 +259,9 @@ static CGSSurfaceID attach_gl_context_to_window(CGLContextObj glCtx,
|
||||
wins = CGWindowListCopyWindowInfo(kCGWindowListOptionIncludingWindow, wid); /* expect one result only */
|
||||
win = (CFDictionaryRef)CFArrayGetValueAtIndex(wins, 0);
|
||||
bnd = (CFDictionaryRef)CFDictionaryGetValue(win, kCGWindowBounds);
|
||||
CFNumberGetValue(CFDictionaryGetValue(bnd, CFSTR("Width")),
|
||||
CFNumberGetValue((CFNumberRef)CFDictionaryGetValue((CFDictionaryRef)bnd, CFSTR("Width")),
|
||||
kCFNumberFloat64Type, &w);
|
||||
CFNumberGetValue(CFDictionaryGetValue(bnd, CFSTR("Height")),
|
||||
CFNumberGetValue((CFNumberRef)CFDictionaryGetValue(bnd, CFSTR("Height")),
|
||||
kCFNumberFloat64Type, &h);
|
||||
CFRelease(wins);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user