aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_osx.m
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-27 00:07:35 +0200
committerDavid Robillard <d@drobilla.net>2019-07-29 01:59:09 +0200
commite23890324d169d03868855a3e265ab4e3cd43745 (patch)
tree1eb247daa237d834e4cc7a113c5e891d49102c2f /pugl/pugl_osx.m
parentc6c91cca30d34b77202612bf365d3f7b686cb5c4 (diff)
downloadpugl-e23890324d169d03868855a3e265ab4e3cd43745.tar.gz
pugl-e23890324d169d03868855a3e265ab4e3cd43745.tar.bz2
pugl-e23890324d169d03868855a3e265ab4e3cd43745.zip
Move trivial backend dispatch functions to common code
Diffstat (limited to 'pugl/pugl_osx.m')
-rw-r--r--pugl/pugl_osx.m18
1 files changed, 0 insertions, 18 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m
index 9db9d87..30eb84d 100644
--- a/pugl/pugl_osx.m
+++ b/pugl/pugl_osx.m
@@ -724,18 +724,6 @@ puglInitInternals(void)
return (PuglInternals*)calloc(1, sizeof(PuglInternals));
}
-void
-puglEnterContext(PuglView* view, bool drawing)
-{
- view->backend->enter(view, drawing);
-}
-
-void
-puglLeaveContext(PuglView* view, bool drawing)
-{
- view->backend->leave(view, drawing);
-}
-
static NSLayoutConstraint*
puglConstraint(id item, NSLayoutAttribute attribute, float constant)
{
@@ -951,12 +939,6 @@ puglGetNativeWindow(PuglView* view)
return (PuglNativeWindow)view->impl->glview;
}
-void*
-puglGetContext(PuglView* view)
-{
- return view->backend->getContext(view);
-}
-
// Backend
static int