Ver a proveniência

REVIEWED: Temporaly fix for issue #4874

pull/4883/head
Ray há 2 meses
ascendente
cometimento
ceb1a5ea2b
1 ficheiros alterados com 2 adições e 2 eliminações
  1. +2
    -2
      examples/textures/textures_polygon.c

+ 2
- 2
examples/textures/textures_polygon.c Ver ficheiro

@ -115,9 +115,9 @@ int main(void)
// without crossing perimeter, points must be in anticlockwise order // without crossing perimeter, points must be in anticlockwise order
void DrawTexturePoly(Texture2D texture, Vector2 center, Vector2 *points, Vector2 *texcoords, int pointCount, Color tint) void DrawTexturePoly(Texture2D texture, Vector2 center, Vector2 *points, Vector2 *texcoords, int pointCount, Color tint)
{ {
rlSetTexture(texture.id);
rlBegin(RL_TRIANGLES); rlBegin(RL_TRIANGLES);
rlSetTexture(texture.id);
rlColor4ub(tint.r, tint.g, tint.b, tint.a); rlColor4ub(tint.r, tint.g, tint.b, tint.a);

Carregando…
Cancelar
Guardar