Add missing increments of k in LoadImageDataNormalized()

This commit is contained in:
Henrik Andersson Glass 2025-02-01 16:24:36 +01:00
parent e85ae86f70
commit e2c9c5cd8a

View File

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