Skip to content

Commit 5ee7f77

Browse files
authored
Merge branch 'raysan5:master' into rlsw
2 parents 5a03656 + 5aa3f0c commit 5ee7f77

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmake/raylib-config.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# raylib_DEFINITIONS - Compiler switches required for using raylib
1313

1414
option(raylib_USE_STATIC_LIBS "Use static libs" ON)
15-
option(raylib_VERBOSE "Use static libs" OFF)
15+
option(raylib_VERBOSE "Show raylib verbose messages" OFF)
1616

1717
if (NOT TARGET raylib)
1818
set(XPREFIX PC_RAYLIB)

examples/textures/textures_polygon.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ int main(void)
115115
// without crossing perimeter, points must be in anticlockwise order
116116
void DrawTexturePoly(Texture2D texture, Vector2 center, Vector2 *points, Vector2 *texcoords, int pointCount, Color tint)
117117
{
118-
rlSetTexture(texture.id);
119-
120118
rlBegin(RL_TRIANGLES);
119+
120+
rlSetTexture(texture.id);
121121

122122
rlColor4ub(tint.r, tint.g, tint.b, tint.a);
123123

0 commit comments

Comments
 (0)