basis_universal: Unbundle jpgd, use our newer copy

This commit is contained in:
Rémi Verschelde 2024-02-18 18:48:14 +01:00
parent 5f05e2b9b1
commit 48ed0474e2
No known key found for this signature in database
GPG key ID: C3336907360768E1
7 changed files with 20 additions and 3582 deletions

View file

@ -409,7 +409,7 @@ namespace basisu
bool load_jpg(const char *pFilename, image& img)
{
int width = 0, height = 0, actual_comps = 0;
uint8_t *pImage_data = jpgd::decompress_jpeg_image_from_file(pFilename, &width, &height, &actual_comps, 4, jpgd::jpeg_decoder::cFlagLinearChromaFiltering);
uint8_t *pImage_data = jpgd::decompress_jpeg_image_from_file(pFilename, &width, &height, &actual_comps, 4, jpgd::jpeg_decoder::cFlagBoxChromaFiltering);
if (!pImage_data)
return false;