summaryrefslogtreecommitdiffhomepage
path: root/src/config.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2018-04-29 11:37:39 +0200
committerraysan5 <[email protected]>2018-04-29 11:37:39 +0200
commitca5f7ebd102656f8451a4cf99638bb94c9d00264 (patch)
treef3e3cb62f3e5ae18134875c01450498a547dc18a /src/config.h
parent0045402c995fefa515bd56f07b64140ed6d54e59 (diff)
downloadraylib-ca5f7ebd102656f8451a4cf99638bb94c9d00264.tar.gz
raylib-ca5f7ebd102656f8451a4cf99638bb94c9d00264.zip
Added compile flag: SUPPORT_SCREEN_CAPTURE
Allow compiling the library with support for automatic screen capture (KEY_F12)
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index a8b5ea19..5f8adcff 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
+// 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()
#define SUPPORT_GIF_RECORDING 1