aboutsummaryrefslogtreecommitdiffstats
path: root/test/pugl_gl3_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-27 12:47:56 +0100
committerDavid Robillard <d@drobilla.net>2019-11-03 20:52:32 +0100
commit84754fdb2ff35779378e032ec2f195a22d66fe30 (patch)
treeb591fbdd002c4d7cff6726429807f6fa2e1e4345 /test/pugl_gl3_test.c
parenta96511e36737284589361616f4fb4c0874095da7 (diff)
downloadpugl-84754fdb2ff35779378e032ec2f195a22d66fe30.tar.gz
pugl-84754fdb2ff35779378e032ec2f195a22d66fe30.tar.bz2
pugl-84754fdb2ff35779378e032ec2f195a22d66fe30.zip
Add verbose option to test programs to print all events
Diffstat (limited to 'test/pugl_gl3_test.c')
-rw-r--r--test/pugl_gl3_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pugl_gl3_test.c b/test/pugl_gl3_test.c
index 8e77bc2..8228336 100644
--- a/test/pugl_gl3_test.c
+++ b/test/pugl_gl3_test.c
@@ -220,7 +220,7 @@ onEvent(PuglView* view, const PuglEvent* event)
{
PuglTestApp* app = (PuglTestApp*)puglGetHandle(view);
- printEvent(event, "Event: ");
+ printEvent(event, "Event: ", app->opts.verbose);
switch (event->type) {
case PUGL_CONFIGURE: