Skip to content

Commit 4f5a20a

Browse files
authored
Add missing increments of k in LoadImageDataNormalized() (#4745)
1 parent 1958de4 commit 4f5a20a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/rtextures.c

+3
Original file line numberDiff line numberDiff line change
@@ -5512,6 +5512,7 @@ static Vector4 *LoadImageDataNormalized(Image image)
55125512
pixels[i].z = 0.0f;
55135513
pixels[i].w = 1.0f;
55145514

5515+
k += 1;
55155516
} break;
55165517
case PIXELFORMAT_UNCOMPRESSED_R32G32B32:
55175518
{
@@ -5537,6 +5538,8 @@ static Vector4 *LoadImageDataNormalized(Image image)
55375538
pixels[i].y = 0.0f;
55385539
pixels[i].z = 0.0f;
55395540
pixels[i].w = 1.0f;
5541+
5542+
k += 1;
55405543
} break;
55415544
case PIXELFORMAT_UNCOMPRESSED_R16G16B16:
55425545
{

0 commit comments

Comments
 (0)