aboutsummaryrefslogtreecommitdiff
path: root/src/shapes.c
diff options
context:
space:
mode:
authorvictorfisac <victorfisac@gmail.com>2016-06-11 18:29:01 +0200
committervictorfisac <victorfisac@gmail.com>2016-06-11 18:29:01 +0200
commit1a60f376a4ebe4d0053a6ea308ee2b399d8c345d (patch)
tree2168bb09d221f2478e3371b296106700c130a0e4 /src/shapes.c
parent77f599885dade4930fb01baca22db6e2ae0c9f20 (diff)
parent27ba7de1e4a9d262b2f3039433977d6cffa1da8d (diff)
downloadraylib-1a60f376a4ebe4d0053a6ea308ee2b399d8c345d.tar.gz
raylib-1a60f376a4ebe4d0053a6ea308ee2b399d8c345d.zip
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
Diffstat (limited to 'src/shapes.c')
-rw-r--r--src/shapes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shapes.c b/src/shapes.c
index 7129ac17..3ccfd660 100644
--- a/src/shapes.c
+++ b/src/shapes.c
@@ -44,7 +44,7 @@
//----------------------------------------------------------------------------------
// Global Variables Definition
//----------------------------------------------------------------------------------
-extern unsigned int whiteTexture;
+// ...
//----------------------------------------------------------------------------------
// Module specific Functions Declaration
@@ -137,7 +137,7 @@ void DrawCircleV(Vector2 center, float radius, Color color)
}
else if ((rlGetVersion() == OPENGL_33) || (rlGetVersion() == OPENGL_ES_20))
{
- rlEnableTexture(whiteTexture); // Default white texture
+ rlEnableTexture(GetDefaultTexture().id); // Default white texture
rlBegin(RL_QUADS);
for (int i = 0; i < 360; i += 20)
@@ -220,7 +220,7 @@ void DrawRectangleV(Vector2 position, Vector2 size, Color color)
}
else if ((rlGetVersion() == OPENGL_33) || (rlGetVersion() == OPENGL_ES_20))
{
- rlEnableTexture(whiteTexture); // Default white texture
+ rlEnableTexture(GetDefaultTexture().id); // Default white texture
rlBegin(RL_QUADS);
rlColor4ub(color.r, color.g, color.b, color.a);