aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/implementation.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/implementation.c')
-rw-r--r--pugl/detail/implementation.c6
1 files changed, 6 insertions, 0 deletions
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)
{