소스 검색

Fix polygon drawing example for opengl 1.1 (#5202)

pull/5205/head
Maicon Santana 2 주 전
committed by GitHub
부모
커밋
07033cff90
No known key found for this signature in database GPG 키 ID: B5690EEEBB952194
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      examples/textures/textures_polygon_drawing.c

+ 1
- 1
examples/textures/textures_polygon_drawing.c 파일 보기

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

불러오는 중...
취소
저장