Support shapes drawing using only QUADS

Also added new compilation FLAGS for that pourpose
This commit is contained in:
raysan5 2018-04-29 12:53:32 +02:00
parent ada6668b24
commit 8d81b6e4e4
4 changed files with 225 additions and 187 deletions

View file

@ -59,6 +59,16 @@
#define SUPPORT_DISTORTION_SHADER 1
//------------------------------------------------------------------------------------
// 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
//------------------------------------------------------------------------------------