From d015bf0d762b40c6c0d5a7af71add8710d3792ad Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 4 Aug 2019 18:17:30 +0200 Subject: Add puglGetWorld() --- pugl/detail/implementation.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pugl/detail') diff --git a/pugl/detail/implementation.c b/pugl/detail/implementation.c index 137bef9..ac3f527 100644 --- a/pugl/detail/implementation.c +++ b/pugl/detail/implementation.c @@ -128,6 +128,12 @@ puglFreeView(PuglView* view) free(view); } +PuglWorld* +puglGetWorld(PuglView* view) +{ + return view->world; +} + void puglInitWindowHint(PuglView* view, PuglWindowHint hint, int value) { -- cgit v1.2.1