| 1311 | |
| 1312 | #if !defined(STBI_NO_HDR) && !defined(STBI_NO_LINEAR) |
| 1313 | static void stbi__float_postprocess(float *result, int *x, int *y, int *comp, int req_comp) |
| 1314 | { |
| 1315 | if (stbi__vertically_flip_on_load && result != NULL) { |
| 1316 | int channels = req_comp ? req_comp : *comp; |
| 1317 | stbi__vertical_flip(result, *x, *y, channels * sizeof(float)); |
| 1318 | } |
| 1319 | } |
| 1320 | #endif |
| 1321 | |
| 1322 | #ifndef STBI_NO_STDIO |
no test coverage detected