From aa3b4133909ad0b8a384fdf1795cf3ead5a35e12 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 11 Feb 2020 19:01:29 +0100 Subject: [PATCH] SUPPORT_HALFBUSY_WAIT_LOOP --- src/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.h b/src/config.h index 8870ac680..91e0decf6 100644 --- a/src/config.h +++ b/src/config.h @@ -49,7 +49,7 @@ // Use busy wait loop for timing sync, if not defined, a high-resolution timer is setup and used //#define SUPPORT_BUSY_WAIT_LOOP 1 // Use a half-busy wait loop, in this case frame sleeps for some time and runs a busy-wait-loop at the end -//#define SUPPORT_HALFBUSY_WAIT_LOOP +#define SUPPORT_HALFBUSY_WAIT_LOOP // Wait for events passively (sleeping while no events) instead of polling them actively every frame //#define SUPPORT_EVENTS_WAITING 1 // Allow automatic screen capture of current screen pressing F12, defined in KeyCallback()