| 461 | |
| 462 | #ifndef STBI_WRITE_NO_STDIO |
| 463 | int stbi_write_tga(char const *filename, int x, int y, int comp, const void *data) |
| 464 | { |
| 465 | stbi__write_context s; |
| 466 | if (stbi__start_write_file(&s,filename)) { |
| 467 | int r = stbi_write_tga_core(&s, x, y, comp, (void *) data); |
| 468 | stbi__end_write_file(&s); |
| 469 | return r; |
| 470 | } else |
| 471 | return 0; |
| 472 | } |
| 473 | #endif |
| 474 | |
| 475 | // ************************************************************************************************* |
nothing calls this directly
no test coverage detected