From d53ce364a7c7c0d9b0d1fa87077df2dff69688e9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 3 Nov 2019 15:06:28 +0100 Subject: Add puglGetNativeWorld() --- pugl/detail/x11.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pugl/detail/x11.c') diff --git a/pugl/detail/x11.c b/pugl/detail/x11.c index fd47db3..e576b49 100644 --- a/pugl/detail/x11.c +++ b/pugl/detail/x11.c @@ -101,6 +101,12 @@ puglInitWorldInternals(void) return impl; } +void* +puglGetNativeWorld(PuglWorld* world) +{ + return world->impl->display; +} + PuglInternals* puglInitViewInternals(void) { -- cgit v1.2.1