diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_redisplay.c | 2 | ||||
-rw-r--r-- | test/test_update.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_redisplay.c b/test/test_redisplay.c index 1276136..f17e4c7 100644 --- a/test/test_redisplay.c +++ b/test/test_redisplay.c @@ -140,7 +140,7 @@ main(int argc, char** argv) } // Redisplay from outside the event handler - puglPostRedisplay(test.view); + puglObscureView(test.view); while (test.state != REREDISPLAYED) { assert(!puglUpdate(test.world, timeout)); } diff --git a/test/test_update.c b/test/test_update.c index 4710ca2..c5997ba 100644 --- a/test/test_update.c +++ b/test/test_update.c @@ -63,7 +63,7 @@ onEvent(PuglView* view, const PuglEvent* event) case PUGL_UPDATE: if (test->state == EXPOSED1) { test->state = UPDATED; - puglPostRedisplay(view); + puglObscureView(view); } break; |