mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-06 01:46:27 +00:00
Support shapes drawing using only QUADS
Also added new compilation FLAGS for that pourpose
This commit is contained in:
10
src/config.h
10
src/config.h
@@ -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
|
||||
//------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user