diff options
author | pommicket <pommicket@gmail.com> | 2023-01-02 00:18:46 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-02 00:18:46 -0500 |
commit | 636ea84bc7fa738c179168664ea22118ecc89ab3 (patch) | |
tree | f0e811c08533d21fddaa2d4aaa7193257890e0d4 /gl.c | |
parent | 43b8a9cb106d50265f5a6c1307e77d4642710f07 (diff) |
restructure ted.c, node.c
Diffstat (limited to 'gl.c')
-rw-r--r-- | gl.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,6 +1,15 @@ #include "ted.h" #include "lib/glcorearb.h" +#if DEBUG +unsigned char *stbi_load(const char *filename, int *x, int *y, int *comp, int req_comp); +#else +#define STB_IMAGE_STATIC +no_warn_start +#include "stb_image.c" +no_warn_end +#endif + // macro trickery to avoid having to write everything twice #define gl_for_each_proc(do)\ do(DRAWARRAYS, DrawArrays)\ |