summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tests/gpu/test_effect_base.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/gpu/test_effect_base.cc b/src/tests/gpu/test_effect_base.cc
index 3f1c6e2..e55b254 100644
--- a/src/tests/gpu/test_effect_base.cc
+++ b/src/tests/gpu/test_effect_base.cc
@@ -165,6 +165,9 @@ static void test_sequence_render() {
wgpuQueueSubmit(fixture.queue(), 1, &commands);
wgpuCommandBufferRelease(commands);
+ // Wait for the GPU to complete rendering to avoid race conditions on exit.
+ wgpuDeviceTick(fixture.device());
+
fprintf(stdout, " ✓ Sequence rendered without error\n");
}