ソースを参照

Corrected bug on PVR textures loading

pull/23/head
Gatonevermind 10年前
コミット
4e4b6bef21
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/textures.c

+ 1
- 1
src/textures.c ファイルの表示

@ -1105,7 +1105,7 @@ static Image LoadPVR(const char *fileName)
{ {
image.width = header.width; image.width = header.width;
image.height = header.height; image.height = header.height;
image.mipmaps = header.numMipmaps + 1;
image.mipmaps = header.numMipmaps;
// Check data format // Check data format
if (((header.channels[0] == 'l') && (header.channels[1] == 0)) && (header.channelDepth[0] == 8)) image.format = UNCOMPRESSED_GRAYSCALE; if (((header.channels[0] == 'l') && (header.channels[1] == 0)) && (header.channelDepth[0] == 8)) image.format = UNCOMPRESSED_GRAYSCALE;

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