diff options
| author | Ray <[email protected]> | 2021-03-22 20:45:04 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-22 20:45:04 +0100 |
| commit | 2ce28f75addd22a5b56dc68738e6a72af74f125d (patch) | |
| tree | 922240e1d418688425ff1a4e4775a8bd2a0985aa /src/textures.c | |
| parent | 24dae29a0344823e3a8306f0685664f1580a7751 (diff) | |
| download | raylib-2ce28f75addd22a5b56dc68738e6a72af74f125d.tar.gz raylib-2ce28f75addd22a5b56dc68738e6a72af74f125d.zip | |
WARNING: BREAKING: REDESIGNED: rlgl module
- Many functions renamed to follow rl*() convention
- Some internal functions exposed in the API
- Some functionality moved to other modules
- Reorganized all functions by categories
- Make sure it keeps working with OpenGL 1.1 and 2.1
Diffstat (limited to 'src/textures.c')
| -rw-r--r-- | src/textures.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/textures.c b/src/textures.c index b353c5b8..f98a4ad2 100644 --- a/src/textures.c +++ b/src/textures.c @@ -2950,6 +2950,12 @@ Image GetScreenData(void) return image; } +// Define default texture used to draw shapes +void SetShapesTexture(Texture2D texture, Rectangle source) +{ + rlSetShapesTexture(texture, source); +} + //------------------------------------------------------------------------------------ // Texture configuration functions //------------------------------------------------------------------------------------ |
