aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_cxx_demo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_cxx_demo.cpp')
-rw-r--r--examples/pugl_cxx_demo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_cxx_demo.cpp b/examples/pugl_cxx_demo.cpp
index 9767345..482f67f 100644
--- a/examples/pugl_cxx_demo.cpp
+++ b/examples/pugl_cxx_demo.cpp
@@ -134,7 +134,7 @@ main(int argc, char** argv)
view.setHint(pugl::ViewHint::swapInterval, opts.sync);
view.setHint(pugl::ViewHint::ignoreKeyRepeat, opts.ignoreKeyRepeat);
view.realize();
- view.showWindow();
+ view.show();
unsigned framesDrawn = 0;
while (!view.quit()) {