Skip to content

Commit ceb1a5e

Browse files
committed
REVIEWED: Temporaly fix for issue #4874
1 parent f4f860b commit ceb1a5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/textures/textures_polygon.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ int main(void)
115115
// without crossing perimeter, points must be in anticlockwise order
116116
void DrawTexturePoly(Texture2D texture, Vector2 center, Vector2 *points, Vector2 *texcoords, int pointCount, Color tint)
117117
{
118-
rlSetTexture(texture.id);
119-
120118
rlBegin(RL_TRIANGLES);
119+
120+
rlSetTexture(texture.id);
121121

122122
rlColor4ub(tint.r, tint.g, tint.b, tint.a);
123123

0 commit comments

Comments
 (0)