Просмотр исходного кода

Add missing increments of k in LoadImageDataNormalized()

pull/4745/head
Henrik Andersson Glass 11 месяцев назад
Родитель
Сommit
e2c9c5cd8a
1 измененных файлов: 3 добавлений и 0 удалений
  1. +3
    -0
      src/rtextures.c

+ 3
- 0
src/rtextures.c Просмотреть файл

@ -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:
{

Загрузка…
Отмена
Сохранить