summaryrefslogtreecommitdiffhomepage
path: root/src/config.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2018-04-29 12:53:32 +0200
committerraysan5 <[email protected]>2018-04-29 12:53:32 +0200
commit8d81b6e4e40ea8ad01acea8bfbda38840eb7027f (patch)
tree59411531d7c35b334980b20de1a622b546a500e0 /src/config.h
parentada6668b2458f0e58e588611b2e0d70a90970827 (diff)
downloadraylib-8d81b6e4e40ea8ad01acea8bfbda38840eb7027f.tar.gz
raylib-8d81b6e4e40ea8ad01acea8bfbda38840eb7027f.zip
Support shapes drawing using only QUADS
Also added new compilation FLAGS for that pourpose
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 5f8adcff..d094e6b1 100644
--- a/src/config.h
+++ b/src/config.h
@@ -60,6 +60,16 @@
//------------------------------------------------------------------------------------
+// Module: shapes - Configuration Flags
+//------------------------------------------------------------------------------------
+// Draw rectangle shapes using font texture white character instead of default white texture
+// Allows drawing rectangles and text with a single draw call, very useful for GUI systems!
+#define SUPPORT_FONT_TEXTURE
+// Use QUADS instead of TRIANGLES for drawing when possible
+// Some lines-based shapes could still use lines
+#define SUPPORT_QUADS_DRAW_MODE
+
+//------------------------------------------------------------------------------------
// Module: textures - Configuration Flags
//------------------------------------------------------------------------------------
// Selecte desired fileformats to be supported for image data loading