aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_update.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_update.c')
-rw-r--r--test/test_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_update.c b/test/test_update.c
index d9c02ab..39415bc 100644
--- a/test/test_update.c
+++ b/test/test_update.c
@@ -75,8 +75,8 @@ onEvent(PuglView* view, const PuglEvent* event)
case PUGL_UPDATE:
if (test->state == EXPOSED1) {
- puglPostRedisplay(view);
test->state = UPDATED;
+ puglPostRedisplay(view);
}
break;