Przeglądaj źródła

Fix polygon drawing example for opengl 1.1 (#5202)

pull/5205/head
Maicon Santana 2 tygodni temu
committed by GitHub
rodzic
commit
07033cff90
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      examples/textures/textures_polygon_drawing.c

+ 1
- 1
examples/textures/textures_polygon_drawing.c Wyświetl plik

@ -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);

Ładowanie…
Anuluj
Zapisz