[rlgl] introduced rlStartBatch
This commit is contained in:
parent
b185f482d0
commit
9b989c4ac0
1 changed files with 137 additions and 149 deletions
|
|
@ -208,8 +208,7 @@ static void DrawTexturedCurve(void)
|
|||
Vector2 currentNegNormal = Vector2Add(current, Vector2Scale(normal, -curveWidth));
|
||||
|
||||
// Draw the segment as a quad
|
||||
rlSetTexture(texRoad.id);
|
||||
rlBegin(RL_QUADS);
|
||||
rlStartBatch(RL_QUADS, texRoad.id);
|
||||
rlColor4ub(255,255,255,255);
|
||||
rlNormal3f(0.0f, 0.0f, 1.0f);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue