Explorar o código

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

Sean Barrett %!s(int64=8) %!d(string=hai) anos
pai
achega
4a1523f60a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      stb_image.h

+ 1 - 1
stb_image.h

@@ -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;