ソースを参照

Fix polygon drawing example for opengl 1.1 (#5202)

pull/5205/head
Maicon Santana 2週間前
committed by GitHub
コミット
07033cff90
この署名に対応する既知のキーがデータベースに存在しません 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);

読み込み中…
キャンセル
保存