diff options
Diffstat (limited to 'gunit_tests/drawTestBase.cpp')
| -rw-r--r-- | gunit_tests/drawTestBase.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gunit_tests/drawTestBase.cpp b/gunit_tests/drawTestBase.cpp index a91b3b9..9a92414 100644 --- a/gunit_tests/drawTestBase.cpp +++ b/gunit_tests/drawTestBase.cpp @@ -1,12 +1,18 @@ #include "drawTestBase.h" -#define STBI_ASSERT(x) ((void)0) +/*#define STBI_ASSERT(x) ((void)0) #define STBIW_ASSERT(x) ((void)0) +*/ + #define STB_IMAGE_IMPLEMENTATION +#define STBIDEF static inline #include "stb_image.h" #define STB_IMAGE_WRITE_IMPLEMENTATION +#define STB_IMAGE_WRITE_STATIC +#define STBIWDEF static inline #include "stb_image_write.h" + DrawTestBase::DrawTestBase() { targetDir = fs::path(GTEST_PNG_ROOT) / ::testing::UnitTest::GetInstance()->current_test_suite()->name(); if (!fs::is_directory(targetDir) || !fs::exists(targetDir)) |