Fix compilation errors on CI
This commit is contained in:
2
Source/ThirdParty/stb/stb_image_write.h
vendored
2
Source/ThirdParty/stb/stb_image_write.h
vendored
@@ -615,6 +615,7 @@ static void stbiw__linear_to_rgbe(unsigned char *rgbe, float *linear)
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef STBI_WRITE_NO_STDIO
|
||||
static void stbiw__write_run_data(stbi__write_context *s, int length, unsigned char databyte)
|
||||
{
|
||||
unsigned char lengthbyte = STBIW_UCHAR(length+128);
|
||||
@@ -753,7 +754,6 @@ STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x,
|
||||
return stbi_write_hdr_core(&s, x, y, comp, (float *) data);
|
||||
}
|
||||
|
||||
#ifndef STBI_WRITE_NO_STDIO
|
||||
STBIWDEF int stbi_write_hdr(char const *filename, int x, int y, int comp, const float *data)
|
||||
{
|
||||
stbi__write_context s;
|
||||
|
||||
Reference in New Issue
Block a user