diff options
| author | noshbar <noshbar@gmail.com> | 2018-10-10 21:52:50 +0200 |
|---|---|---|
| committer | noshbar <noshbar@gmail.com> | 2018-10-10 21:52:50 +0200 |
| commit | 7f7f3b7cd531cdb1a52e75e364c5447653ebddb4 (patch) | |
| tree | 1bb4cc677980ce118b05b08df8ba886d4967cf3c /src/external/lua | |
| parent | f238b9ea3c6b2b380a07d37ebe82d7fcde4a1ce1 (diff) | |
| download | raylib-7f7f3b7cd531cdb1a52e75e364c5447653ebddb4.tar.gz raylib-7f7f3b7cd531cdb1a52e75e364c5447653ebddb4.zip | |
Physac.h fix for variable array size declaration.
Generating the projects using CMake, targeting VS2017, results in an error when compiling.
This is due to physac.h trying to make a 'vertices' array of size 'int count', making it const does not work, either.
This changes the static declaration to a malloc/free combo.
Tested using the physics-demo.
Diffstat (limited to 'src/external/lua')
0 files changed, 0 insertions, 0 deletions
