From e23890324d169d03868855a3e265ab4e3cd43745 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 27 Jul 2019 00:07:35 +0200 Subject: Move trivial backend dispatch functions to common code --- pugl/pugl_osx.m | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'pugl/pugl_osx.m') 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 -- cgit v1.2.1