aboutsummaryrefslogtreecommitdiff
path: root/raylib/config.h
diff options
context:
space:
mode:
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: