浏览代码

Corrected issue with variable name

pull/1113/head
Ray 5 年前
父节点
当前提交
acfa967e89
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      src/textures.c

+ 3
- 3
src/textures.c 查看文件

@ -261,9 +261,9 @@ Image LoadImage(const char *fileName)
image.mipmaps = 1;
if (imgBpp == 1) image.format = UNCOMPRESSED_R32;
else if (imgBpp == 3) image.format = UNCOMPRESSED_R32G32B32;
else if (imgBpp == 4) image.format = UNCOMPRESSED_R32G32B32A32;
if (comp == 1) image.format = UNCOMPRESSED_R32;
else if (comp == 3) image.format = UNCOMPRESSED_R32G32B32;
else if (comp == 4) image.format = UNCOMPRESSED_R32G32B32A32;
else
{
TRACELOG(LOG_WARNING, "[%s] HDR Image fileformat not supported", fileName);

正在加载...
取消
保存