Add missing increments of k in LoadImageDataNormalized() (#4745)

This commit is contained in:
Henrik A. Glass 2025-02-01 21:30:21 +01:00 committed by GitHub
parent 1958de4a12
commit 4f5a20a634
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5512,6 +5512,7 @@ static Vector4 *LoadImageDataNormalized(Image image)
pixels[i].z = 0.0f;
pixels[i].w = 1.0f;
k += 1;
} break;
case PIXELFORMAT_UNCOMPRESSED_R32G32B32:
{
@ -5537,6 +5538,8 @@ static Vector4 *LoadImageDataNormalized(Image image)
pixels[i].y = 0.0f;
pixels[i].z = 0.0f;
pixels[i].w = 1.0f;
k += 1;
} break;
case PIXELFORMAT_UNCOMPRESSED_R16G16B16:
{