mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-20 12:39:13 +12:00
Move stb_image_write
into its own translation unit
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`.
This commit is contained in:
parent
148232c0b2
commit
e4e8e7ce26
3 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
#include "emulator.hpp"
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
|
||||
#include <stb_image_write.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
2
src/stb_image_write.c
Normal file
2
src/stb_image_write.c
Normal file
|
@ -0,0 +1,2 @@
|
|||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
#include <stb_image_write.h>
|
Loading…
Add table
Add a link
Reference in a new issue