| 631 | } |
| 632 | |
| 633 | int stbi_write_hdr(char const *filename, int x, int y, int comp, const float *data) |
| 634 | { |
| 635 | stbi__write_context s; |
| 636 | if (stbi__start_write_file(&s,filename)) { |
| 637 | int r = stbi_write_hdr_core(&s, x, y, comp, (float *) data); |
| 638 | stbi__end_write_file(&s); |
| 639 | return r; |
| 640 | } else |
| 641 | return 0; |
| 642 | } |
| 643 | #endif // STBI_WRITE_NO_STDIO |
| 644 | |
| 645 |
nothing calls this directly
no test coverage detected