Arreglat jail_shader.cpp en windows també

This commit is contained in:
2025-03-16 09:55:32 +01:00
parent e7359a1467
commit 4a07100e2a
23 changed files with 75 additions and 73 deletions

View File

@@ -427,7 +427,7 @@ extern "C"
#ifndef STBI_NO_STDIO
STBIDEF stbi_uc *stbi_load(char const *filename, int *x, int *y, int *channels_in_file, int desired_channels);
STBIDEF stbi_uc *stbi_load_from_file(FILE *f, int *x, int *y, int *channels_in_file, int desired_channels);
// para stbi_load_from_file, file pointer is left pointing immediately after image
// Para stbi_load_from_file, file pointer is left pointing immediately after image
#endif
#ifndef STBI_NO_GIF
@@ -503,7 +503,7 @@ extern "C"
STBIDEF int stbi_is_16_bit_from_file(FILE *f);
#endif
// para image formats that explicitly notate that they have premultiplied alpha,
// Para image formats that explicitly notate that they have premultiplied alpha,
// we just return the colors as stored in the file. set this flag to force
// unpremultiplication. results are undefined if the unpremultiply overflow.
STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply);
@@ -6869,7 +6869,7 @@ static int stbi__tga_test(stbi__context *s)
goto errorEnd; // test height
sz = stbi__get8(s); // bits per pixel
if ((tga_color_type == 1) && (sz != 8) && (sz != 16))
goto errorEnd; // para colormapped images, bpp is size of an index
goto errorEnd; // Para colormapped images, bpp is size of an index
if ((sz != 8) && (sz != 15) && (sz != 16) && (sz != 24) && (sz != 32))
goto errorEnd;
@@ -7499,7 +7499,7 @@ static stbi_uc *stbi__pic_load_core(stbi__context *s, int width, int height, int
stbi__pic_packet packets[10];
// this will (should...) cater for even some bizarre stuff like having data
// para the same channel in multiple packets.
// Para the same channel in multiple packets.
do
{
stbi__pic_packet *packet;