diff options
| author | Ray <[email protected]> | 2018-10-31 23:19:29 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-10-31 23:19:29 +0100 |
| commit | 0f6f326a868f6c970de066e71d74e81f54347085 (patch) | |
| tree | c417cbdec868d903463210979d9b9c6be27046e6 /src/config.h | |
| parent | f7667aad8dd03c1cdaa2033f7a37815b7dd1f9b4 (diff) | |
| download | raylib-0f6f326a868f6c970de066e71d74e81f54347085.tar.gz raylib-0f6f326a868f6c970de066e71d74e81f54347085.zip | |
Add flag: SUPPORT_EVENTS_WAITING
Wait for input events passively (sleep) instead of polling events actively every frame
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 47cc8068..7992f5b3 100644 --- a/src/config.h +++ b/src/config.h @@ -44,6 +44,8 @@ #define SUPPORT_MOUSE_GESTURES 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 +// Wait for events passively (sleeping while no events) instead of polling them actively every frame +//SUPPORT_EVENTS_WAITING 1 // Allow automatic screen capture of current screen pressing F12, defined in KeyCallback() #define SUPPORT_SCREEN_CAPTURE 1 // Allow automatic gif recording of current screen pressing CTRL+F12, defined in KeyCallback() |
