소스 검색

HDR textures vertical flip

pull/285/head
Ray 8 년 전
부모
커밋
7f6b16add4
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. +4
    -0
      src/textures.c

+ 4
- 0
src/textures.c 파일 보기

@ -213,8 +213,12 @@ Image LoadImage(const char *fileName)
FILE *imFile = fopen(fileName, "rb");
stbi_set_flip_vertically_on_load(true);
// Load 32 bit per channel floats data
image.data = stbi_loadf_from_file(imFile, &image.width, &image.height, &imgBpp, 0);
stbi_set_flip_vertically_on_load(false);
fclose(imFile);

불러오는 중...
취소
저장