diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pugl_embed_demo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_embed_demo.c b/examples/pugl_embed_demo.c index a66e032..0274ab4 100644 --- a/examples/pugl_embed_demo.c +++ b/examples/pugl_embed_demo.c @@ -289,7 +289,7 @@ main(int argc, char** argv) } puglSetFrame(app.child, getChildFrame(parentFrame)); - puglSetParentWindow(app.child, puglGetNativeView(app.parent)); + puglSetParent(app.child, puglGetNativeView(app.parent)); puglSetViewHint(app.child, PUGL_CONTEXT_DEBUG, opts.errorChecking); puglSetViewHint(app.child, PUGL_SAMPLES, opts.samples); |