Ver a proveniência

Fix polygon drawing example for opengl 1.1 (#5202)

pull/5205/head
Maicon Santana há 2 semanas
committed by GitHub
ascendente
cometimento
07033cff90
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: B5690EEEBB952194
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      examples/textures/textures_polygon_drawing.c

+ 1
- 1
examples/textures/textures_polygon_drawing.c Ver ficheiro

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

Carregando…
Cancelar
Guardar