mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-24 05:31:15 +00:00
(CGL Ctx) Add TODO/FIXME note
This commit is contained in:
parent
ff48e9a3f7
commit
55ec66020e
@ -253,6 +253,8 @@ static CGSSurfaceID attach_gl_context_to_window(CGLContextObj glCtx,
|
||||
printf("cid:%d wid:%d\n", cid, wid);
|
||||
|
||||
/* determine window size */
|
||||
/* FIXME/TODO - CGWindowListCopyWindowInfo was introduced on OSX 10.5,
|
||||
* find alternative for lower versions. */
|
||||
wins = CGWindowListCopyWindowInfo(kCGWindowListOptionIncludingWindow, wid); /* expect one result only */
|
||||
win = CFArrayGetValueAtIndex(wins, 0);
|
||||
bnd = CFDictionaryGetValue(win, kCGWindowBounds);
|
||||
|
Loading…
x
Reference in New Issue
Block a user