aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-05-03 14:59:47 -0400
committerDavid Robillard <d@drobilla.net>2021-05-03 18:30:39 -0400
commit68d5d5c3bc96c85832664c18b69227b76e68a008 (patch)
treef5283b9b68bd734602536f13432f4d6442b6fde6 /test
parentee3278f0ac66e34b293912b83f8c9e044a0dc8b0 (diff)
downloadpugl-68d5d5c3bc96c85832664c18b69227b76e68a008.tar.gz
pugl-68d5d5c3bc96c85832664c18b69227b76e68a008.tar.bz2
pugl-68d5d5c3bc96c85832664c18b69227b76e68a008.zip
Increase tolerance of timer test
Diffstat (limited to 'test')
-rw-r--r--test/test_timer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/test_timer.c b/test/test_timer.c
index 200ddc2..613535f 100644
--- a/test/test_timer.c
+++ b/test/test_timer.c
@@ -39,12 +39,8 @@ static const double timeout = 1 / 60.0;
static const double timeout = -1.0;
#endif
-#ifdef _WIN32
// Windows SetTimer has a maximum resolution of 10ms
static const double tolerance = 0.012;
-#else
-static const double tolerance = 0.002;
-#endif
static const uintptr_t timerId = 1u;
static const double timerPeriod = 1 / 60.0;