瀏覽代碼

REVIEWED: Temporaly fix for issue #4874

master
Ray 2 天之前
父節點
當前提交
ceb1a5ea2b
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      examples/textures/textures_polygon.c

+ 2
- 2
examples/textures/textures_polygon.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…
取消
儲存