瀏覽代碼

Fix polygon drawing example for opengl 1.1 (#5202)

pull/5205/head
Maicon Santana 2 週之前
committed by GitHub
父節點
當前提交
07033cff90
沒有發現已知的金鑰在資料庫的簽署中 GPG Key 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);

Loading…
取消
儲存