aboutsummaryrefslogtreecommitdiff
path: root/raylib/config.h
diff options
context:
space:
mode:
authorUneven Prankster <unevenprankster@protonmail.com>2023-07-18 13:27:44 -0300
committerUneven Prankster <unevenprankster@protonmail.com>2023-07-18 13:27:44 -0300
commit049779039009991b39d62df7823baa21c53bfbf4 (patch)
tree685141a1c512133ca41724517ea9e5e4d5a71310 /raylib/config.h
parent88d82c6eaee88398af1de57cddca692a1f74b087 (diff)
Latest raylib changes.
Diffstat (limited to 'raylib/config.h')
-rw-r--r--raylib/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/raylib/config.h b/raylib/config.h
index 0af7226..c59e57d 100644
--- a/raylib/config.h
+++ b/raylib/config.h
@@ -181,6 +181,11 @@
// If not defined, still some functions are supported: TextLength(), TextFormat()
#define SUPPORT_TEXT_MANIPULATION 1
+// On font atlas image generation [GenImageFontAtlas()], add a 3x3 pixels white rectangle
+// at the bottom-right corner of the atlas. It can be useful to for shapes drawing, to allow
+// drawing text and shapes with a single draw call [SetShapesTexture()].
+#define SUPPORT_FONT_ATLAS_WHITE_REC 1
+
// rtext: Configuration values
//------------------------------------------------------------------------------------
#define MAX_TEXT_BUFFER_LENGTH 1024 // Size of internal static buffers used on some functions: