From 0fb812f37e89591d40269cd64ec8f199a0f2c04e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Dec 2021 20:37:58 -0500 Subject: Add puglGetBackend() --- src/implementation.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/implementation.c b/src/implementation.c index 145d53b..2644412 100644 --- a/src/implementation.c +++ b/src/implementation.c @@ -265,6 +265,12 @@ puglSetBackend(PuglView* view, const PuglBackend* backend) return PUGL_SUCCESS; } +const PuglBackend* +puglGetBackend(const PuglView* view) +{ + return view->backend; +} + void puglSetHandle(PuglView* view, PuglHandle handle) { -- cgit v1.2.1