diff options
| author | Ray <[email protected]> | 2021-03-18 13:57:53 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-18 13:57:53 +0100 |
| commit | 664fbb87f5a88523fc76d835fe88528abfe46405 (patch) | |
| tree | 0171c0cae4c3feceeb34cf104452f91459956ac8 /src/raylib.h | |
| parent | ca1f2f9078f1af37f49e03c76f08930816561934 (diff) | |
| download | raylib-664fbb87f5a88523fc76d835fe88528abfe46405.tar.gz raylib-664fbb87f5a88523fc76d835fe88528abfe46405.zip | |
REVIEWED: Material params #1649
Just assigned a fixed memory size for custom Material parameters in case of being required, so we shouldn't worry about allocating/freeing them.
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 676b07f5..be071416 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -349,7 +349,7 @@ typedef struct MaterialMap { typedef struct Material { Shader shader; // Material shader MaterialMap *maps; // Material maps array (MAX_MATERIAL_MAPS) - float *params; // Material generic parameters (if required) + float params[4]; // Material generic parameters (if required) } Material; // Transformation properties |
