From 0fb812f37e89591d40269cd64ec8f199a0f2c04e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Dec 2021 20:37:58 -0500 Subject: Add puglGetBackend() --- include/pugl/pugl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h index c13fa69..71578a9 100644 --- a/include/pugl/pugl.h +++ b/include/pugl/pugl.h @@ -877,6 +877,10 @@ PUGL_API PuglStatus puglSetBackend(PuglView* view, const PuglBackend* backend); +/// Return the graphics backend used by a view +const PuglBackend* +puglGetBackend(const PuglView* view); + /// Set the function to call when an event occurs PUGL_API PuglStatus -- cgit v1.2.1