aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac.m
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-11-20 23:56:05 +0100
committerDavid Robillard <d@drobilla.net>2019-11-20 23:58:55 +0100
commita9643c8eaa7788ef87b6cddc3311193bd0f8f533 (patch)
tree10a4669927a62815908a248df3fb82b80aa3079c /pugl/detail/mac.m
parentca0beb092436c74dad7ac19f04fb391380969681 (diff)
downloadpugl-a9643c8eaa7788ef87b6cddc3311193bd0f8f533.tar.gz
pugl-a9643c8eaa7788ef87b6cddc3311193bd0f8f533.tar.bz2
pugl-a9643c8eaa7788ef87b6cddc3311193bd0f8f533.zip
Mac: Move puglGetProcAddress() to mac_gl.m
Diffstat (limited to 'pugl/detail/mac.m')
-rw-r--r--pugl/detail/mac.m17
1 files changed, 0 insertions, 17 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m
index 2e077be..7534281 100644
--- a/pugl/detail/mac.m
+++ b/pugl/detail/mac.m
@@ -927,23 +927,6 @@ puglProcessEvents(PuglView* view)
return puglDispatchEvents(view->world);
}
-PuglGlFunc
-puglGetProcAddress(const char *name)
-{
- CFBundleRef framework =
- CFBundleGetBundleWithIdentifier(CFSTR("com.apple.opengl"));
-
- CFStringRef symbol = CFStringCreateWithCString(
- kCFAllocatorDefault, name, kCFStringEncodingASCII);
-
- PuglGlFunc func = (PuglGlFunc)CFBundleGetFunctionPointerForName(
- framework, symbol);
-
- CFRelease(symbol);
-
- return func;
-}
-
double
puglGetTime(const PuglWorld* world)
{