ソースを参照

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

pull/4748/head
Henrik A. Glass 3ヶ月前
committed by GitHub
コミット
4f5a20a634
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: B5690EEEBB952194
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:
{

読み込み中…
キャンセル
保存