make tga load function static to avoid link errors on multiple instances

This commit is contained in:
Sean Barrett 2016-12-04 05:28:26 -08:00
parent 7759a2a93d
commit 4a1523f60a
1 changed files with 1 additions and 1 deletions

View File

@ -5330,7 +5330,7 @@ errorEnd:
}
// read 16bit value and convert to 24bit RGB
void stbi__tga_read_rgb16(stbi__context *s, stbi_uc* out)
static void stbi__tga_read_rgb16(stbi__context *s, stbi_uc* out)
{
stbi__uint16 px = stbi__get16le(s);
stbi__uint16 fiveBitMask = 31;