aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_shader_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-23 17:14:21 +0100
committerDavid Robillard <d@drobilla.net>2020-11-25 14:18:04 +0100
commitadc925180be3a8b4a970c70c58ef6c3de6993458 (patch)
tree899a7fc130f3ac8c0630e45099df77ac7042e200 /examples/pugl_shader_demo.c
parent7ce9b578a4433f9606b14291fb3b816aa67999d9 (diff)
downloadpugl-adc925180be3a8b4a970c70c58ef6c3de6993458.tar.gz
pugl-adc925180be3a8b4a970c70c58ef6c3de6993458.tar.bz2
pugl-adc925180be3a8b4a970c70c58ef6c3de6993458.zip
Rename puglShowWindow and puglHideWindow to puglShow an puglHide
These names were confusing because a view is not necessarily a window. Since there's no room for ambiguity here, simply drop the superfluous word.
Diffstat (limited to 'examples/pugl_shader_demo.c')
-rw-r--r--examples/pugl_shader_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_shader_demo.c b/examples/pugl_shader_demo.c
index 476489d..3f5e7f3 100644
--- a/examples/pugl_shader_demo.c
+++ b/examples/pugl_shader_demo.c
@@ -426,7 +426,7 @@ main(int argc, char** argv)
// Show window
printViewHints(app.view);
- puglShowWindow(app.view);
+ puglShow(app.view);
// Calculate ideal frame duration to drive the main loop at a good rate
const int refreshRate = puglGetViewHint(app.view, PUGL_REFRESH_RATE);