diff options
| author | raysan5 <[email protected]> | 2020-01-19 17:31:55 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-01-19 17:31:55 +0100 |
| commit | 42d56d2f379f2160918c18e400ea657f5c1fd364 (patch) | |
| tree | a434e95b51f5d4ff79d3349b7c14273aff3d2a8a /src/config.h | |
| parent | cff38308b76458ce5114a5fc00ef9de5e2ad76ce (diff) | |
| download | raylib-42d56d2f379f2160918c18e400ea657f5c1fd364.tar.gz raylib-42d56d2f379f2160918c18e400ea657f5c1fd364.zip | |
Added SUPPORT_HALFBUSY_WAIT_LOOP
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index fc250d65..17c82eef 100644 --- a/src/config.h +++ b/src/config.h @@ -48,6 +48,8 @@ #define SUPPORT_MOUSE_CURSOR_RPI 1 // 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 // 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() |
