aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_redisplay.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-01 19:35:58 +0200
committerDavid Robillard <d@drobilla.net>2020-04-01 19:41:37 +0200
commitfcddc7933dbff47754b8e4acea7406b77df1bf21 (patch)
tree8d82bc731b5e86b10e28acc85654d9be86ff321a /test/test_redisplay.c
parent3f71daba7d92c50f7fd31e8775fc58d3ebf3900d (diff)
downloadpugl-fcddc7933dbff47754b8e4acea7406b77df1bf21.tar.gz
pugl-fcddc7933dbff47754b8e4acea7406b77df1bf21.tar.bz2
pugl-fcddc7933dbff47754b8e4acea7406b77df1bf21.zip
Replace puglShowWindow() with puglRealize()
Diffstat (limited to 'test/test_redisplay.c')
-rw-r--r--test/test_redisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_redisplay.c b/test/test_redisplay.c
index 6ec5bb8..75006cb 100644
--- a/test/test_redisplay.c
+++ b/test/test_redisplay.c
@@ -107,7 +107,7 @@ main(int argc, char** argv)
puglSetEventFunc(app.view, onEvent);
// Create and show window
- assert(!puglCreateWindow(app.view, "Pugl Test"));
+ assert(!puglRealize(app.view));
assert(!puglShowWindow(app.view));
while (app.state != EXPOSED) {
assert(!puglUpdate(app.world, timeout));