|
@@ -1213,7 +1213,7 @@ static unsigned char *stbi__load_and_postprocess_8bit(stbi__context *s, int *x,
|
|
ri.bits_per_channel = 8;
|
|
ri.bits_per_channel = 8;
|
|
}
|
|
}
|
|
|
|
|
|
- // @TODO: move stbi__convert_format to here
|
|
|
|
|
|
+ // @todo: move stbi__convert_format to here
|
|
|
|
|
|
if (stbi__vertically_flip_on_load) {
|
|
if (stbi__vertically_flip_on_load) {
|
|
int channels = req_comp ? req_comp : *comp;
|
|
int channels = req_comp ? req_comp : *comp;
|
|
@@ -1239,8 +1239,8 @@ static stbi__uint16 *stbi__load_and_postprocess_16bit(stbi__context *s, int *x,
|
|
ri.bits_per_channel = 16;
|
|
ri.bits_per_channel = 16;
|
|
}
|
|
}
|
|
|
|
|
|
- // @TODO: move stbi__convert_format16 to here
|
|
|
|
- // @TODO: special case RGB-to-Y (and RGBA-to-YA) for 8-bit-to-16-bit case to keep more precision
|
|
|
|
|
|
+ // @todo: move stbi__convert_format16 to here
|
|
|
|
+ // @todo: special case RGB-to-Y (and RGBA-to-YA) for 8-bit-to-16-bit case to keep more precision
|
|
|
|
|
|
if (stbi__vertically_flip_on_load) {
|
|
if (stbi__vertically_flip_on_load) {
|
|
int channels = req_comp ? req_comp : *comp;
|
|
int channels = req_comp ? req_comp : *comp;
|