소스 검색

REVIEWED: `LoadTextureCubemap()` to avoid crash #4429

pull/4439/head
Ray 7 달 전
부모
커밋
7ad8fa689f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/rtextures.c

+ 1
- 1
src/rtextures.c 파일 보기

@ -4194,7 +4194,7 @@ TextureCubemap LoadTextureCubemap(Image image, int layout)
faces = GenImageColor(size, size*6, MAGENTA);
ImageFormat(&faces, image.format);
ImageMipmaps(&image);
o">//ImageMipmaps(&image); // WARNING: image is a copy, it can't be done here, no intention to pass image by reference...
ImageMipmaps(&faces);
// NOTE: Image formatting does not work with compressed textures

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