Avoid warning about unused stbi__float_postprocess

This commit is contained in:
Julian Raschke 2017-11-25 17:23:33 +08:00
parent 9d9f75eb68
commit 4bffebc5f0
1 changed files with 1 additions and 1 deletions

View File

@ -1103,7 +1103,7 @@ static stbi__uint16 *stbi__load_and_postprocess_16bit(stbi__context *s, int *x,
return (stbi__uint16 *) result;
}
#ifndef STBI_NO_HDR
#if !defined(STBI_NO_HDR) && !defined(STBI_NO_LINEAR)
static void stbi__float_postprocess(float *result, int *x, int *y, int *comp, int req_comp)
{
if (stbi__vertically_flip_on_load && result != NULL) {