소스 검색

Update textures.c

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

+ 2
- 2
src/textures.c 파일 보기

@ -2170,7 +2170,7 @@ Color *LoadImagePalette(Image image, int maxPaletteSize, int *colorsCount)
}
}
UnloadImagePixels(pixels);
UnloadImageColors(pixels);
}
*colorsCount = palCount;
@ -2187,7 +2187,7 @@ void UnloadImageColors(Color *colors)
// Unload colors palette loaded with LoadImagePalette()
void UnloadImagePalette(Color *colors)
{
RL_FREE(palette);
RL_FREE(colors);
}
// Get pixel data from image as Vector4 array (float normalized)

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