From ceb1a5ea2b7550aa01c103b4b3dac0dbc4d8f8fe Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 3 Apr 2025 18:31:05 +0200 Subject: [PATCH 1/2] REVIEWED: Temporaly fix for issue #4874 --- examples/textures/textures_polygon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/textures/textures_polygon.c b/examples/textures/textures_polygon.c index 729e25184..1cde29a4b 100644 --- a/examples/textures/textures_polygon.c +++ b/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); From 636e239e0796df053c753cbace85c1336fd844bd Mon Sep 17 00:00:00 2001 From: Bruno Cabral Date: Sun, 6 Apr 2025 22:33:46 -0700 Subject: [PATCH 2/2] [cmake] set correct description for verbose option --- cmake/raylib-config.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/raylib-config.cmake b/cmake/raylib-config.cmake index b2ef6bfd6..8906ae4d4 100644 --- a/cmake/raylib-config.cmake +++ b/cmake/raylib-config.cmake @@ -12,7 +12,7 @@ # raylib_DEFINITIONS - Compiler switches required for using raylib option(raylib_USE_STATIC_LIBS "Use static libs" ON) -option(raylib_VERBOSE "Use static libs" OFF) +option(raylib_VERBOSE "Show raylib verbose messages" OFF) if (NOT TARGET raylib) set(XPREFIX PC_RAYLIB)