diff options
| author | Ray <raysan5@gmail.com> | 2014-12-31 19:28:38 +0100 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2014-12-31 19:28:38 +0100 |
| commit | 3c4a91658e8586ecb5504d3167796d043e79d065 (patch) | |
| tree | 89aeddb683c133c6d94f1a03f9d1a1399d2a6bf4 /src/shapes.c | |
| parent | 0c606092689d7a1823f7acd5e8b849052e297b7a (diff) | |
| parent | fad81f36e4cfd37901caad8555c49c41ac65aaee (diff) | |
| download | raylib-3c4a91658e8586ecb5504d3167796d043e79d065.tar.gz raylib-3c4a91658e8586ecb5504d3167796d043e79d065.zip | |
Merge pull request #12 from raysan5/develop
Integration from develop branch
Diffstat (limited to 'src/shapes.c')
| -rw-r--r-- | src/shapes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shapes.c b/src/shapes.c index 6fa26bee..d872eacf 100644 --- a/src/shapes.c +++ b/src/shapes.c @@ -44,7 +44,7 @@ //---------------------------------------------------------------------------------- // Global Variables Definition //---------------------------------------------------------------------------------- -// It's lonely here... +extern unsigned int whiteTexture; //---------------------------------------------------------------------------------- // Module specific Functions Declaration @@ -197,7 +197,7 @@ void DrawRectangleV(Vector2 position, Vector2 size, Color color) else if ((rlGetVersion() == OPENGL_33) || (rlGetVersion() == OPENGL_ES_20)) { // NOTE: This shape uses QUADS to avoid drawing order issues (view rlglDraw) - rlEnableTexture(1); // Default white texture + rlEnableTexture(whiteTexture); // Default white texture rlBegin(RL_QUADS); rlColor4ub(color.r, color.g, color.b, color.a); |
