* @brief Trap image load failures and convert into a runtime error. */
| 58 | * @brief Trap image load failures and convert into a runtime error. |
| 59 | */ |
| 60 | static void astcenc_runtime_assert(bool condition) |
| 61 | { |
| 62 | if (!condition) |
| 63 | { |
| 64 | print_error("ERROR: Image header corrupt\n"); |
| 65 | exit(1); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | #include "ThirdParty/stb_image.h" |
| 70 | #include "ThirdParty/stb_image_write.h" |
nothing calls this directly
no test coverage detected