aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_cpp_demo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_cpp_demo.cpp')
-rw-r--r--examples/pugl_cpp_demo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_cpp_demo.cpp b/examples/pugl_cpp_demo.cpp
index 2b3c0a1..6b52d18 100644
--- a/examples/pugl_cpp_demo.cpp
+++ b/examples/pugl_cpp_demo.cpp
@@ -53,8 +53,8 @@ CubeView::onEvent(const pugl::ConfigureEvent& event) noexcept
pugl::Status
CubeView::onEvent(const pugl::UpdateEvent&) noexcept
{
- // Normally, we would post a redisplay:
- // return postRedisplay();
+ // Normally, we would obscure the view
+ // return obscure();
// But for testing, use sendEvent() instead:
return sendEvent(pugl::ExposeEvent{