diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rshapes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rshapes.c b/src/rshapes.c index 9ad5a3d5..3b661e2f 100644 --- a/src/rshapes.c +++ b/src/rshapes.c @@ -741,6 +741,8 @@ void DrawRectangleGradientH(int posX, int posY, int width, int height, Color col // NOTE: Colors refer to corners, starting at top-lef corner and counter-clockwise void DrawRectangleGradientEx(Rectangle rec, Color col1, Color col2, Color col3, Color col4) { + rlCheckRenderBatchLimit(4); + rlSetTexture(texShapes.id); rlPushMatrix(); |
