Rather than having the entire implementation within `emulator.cpp`, causing incremental builds to be much slower, give it its own translation unit `stb_image_write.c`.
2 lines
67 B
C
2 lines
67 B
C
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
|
#include <stb_image_write.h> |