瀏覽代碼

test_image_write.c: change from standalone to integrated with image_test.c

Sean Barrett 6 年之前
父節點
當前提交
57c7029166
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      tests/test_image.c
  2. 2 0
      tests/test_image_write.c

+ 2 - 0
tests/test_image.c

@@ -1 +1,3 @@
+#define STB_IMAGE_STATIC
+#define STB_IMAGE_IMPLEMENTATION
 #include "stb_image.h"

+ 2 - 0
tests/test_image_write.c

@@ -1 +1,3 @@
+#define STB_IMAGE_WRITE_IMPLEMENTATION
+#define STB_IMAGE_WRITE_STATIC
 #include "stb_image_write.h"