Skip to content
Myr

Cleanup unused functions

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Michaelangel007 · committed by Michaelangel007 · parent 2762b41 · Browse files · 1 file+7 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−1 removed

  • other:+7 added−1 removed

1 file+7 added−1 removed

modified:stb_image.h+7 added-1 removed
987 unmodified lines
988989 return result;990}991992#ifndef STBI_NO_HDR993static void stbi__float_postprocess(float *result, int *x, int *y, int *comp, int req_comp)994{995 if (stbi__vertically_flip_on_load && result != NULL) {996 int w = *x, h = *y;
12 unmodified lines
1009 }1010 }1011 }1012}1013#endif101410131015#ifndef STBI_NO_STDIO10161017static FILE *stbi__fopen(char const *filename, char const *mode)1018{
269 unmodified lines
1288 stbi__uint32 z = stbi__get16be(s);1289 return (z << 16) + stbi__get16be(s);1290}12911292#if defined (STBI_NO_BMP) && (STBI_NO_TGA) && (STBI_NO_GIF)1293#else1294static int stbi__get16le(stbi__context *s)1295{1296 int z = stbi__get8(s);1297 return z + (stbi__get8(s) << 8);1298}1299#endif13001301#ifndef STBI_NO_BMP1302static stbi__uint32 stbi__get32le(stbi__context *s)1303{1304 stbi__uint32 z = stbi__get16le(s);1305 return z + (stbi__get16le(s) << 16);1306}1307#endif13081309#define STBI__BYTECAST(x) ((stbi_uc) ((x) & 255)) // truncate int to byte without warnings13101311
5135 unmodified lines