diff options
author | David Robillard <d@drobilla.net> | 2021-05-03 14:45:09 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-05-03 18:30:39 -0400 |
commit | ee3278f0ac66e34b293912b83f8c9e044a0dc8b0 (patch) | |
tree | 62b8b08b84ed5f46feea83efb025a6f7660d1092 /src | |
parent | bd7dbdec48a48a70b8f380a928325291c53ecaf0 (diff) | |
download | pugl-ee3278f0ac66e34b293912b83f8c9e044a0dc8b0.tar.gz pugl-ee3278f0ac66e34b293912b83f8c9e044a0dc8b0.tar.bz2 pugl-ee3278f0ac66e34b293912b83f8c9e044a0dc8b0.zip |
MacOS: Make puglGetNativeWorld() return the NSApplication
Diffstat (limited to 'src')
-rw-r--r-- | src/mac.m | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -871,9 +871,9 @@ puglFreeWorldInternals(PuglWorld* world) } void* -puglGetNativeWorld(PuglWorld* PUGL_UNUSED(world)) +puglGetNativeWorld(PuglWorld* world) { - return NULL; + return world->impl->app; } PuglInternals* |