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