Migrate LodePNG to submodule

We are no longer copy-pasting LodePNG source files directly.

As we can't rename lodepng.cpp to lodepng.c in the submodule itself, we
need to make a wrapper file, lodepng_wrapper.c, that #includes
lodepng.cpp, but gets compiled as C.
This commit is contained in:
Misa authored and Misa Elizabeth Kai committed 2022-03-13 23:50:37 -07:00
1 parent 5bd7dce075
commit 7a0d3046a5
7 files changed
+7 -8530

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
/* Workaround for being unable to rename lodepng.cpp to lodepng.c */
#include "../../third_party/lodepng/lodepng.cpp"