-
Anonymous
Stbi_load не может загрузить изображение
Сообщение
Anonymous »
Я пытаюсь загрузить текстуру с помощью stbi_load(). Вот мой код:
Код: Выделить всё
int width, height, numComponents;
unsigned char* imgData = stbi_load(fileName.c_str(), &width, &height, &numComponents, 4);
if (imgData == NULL)
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/46020364/stbi-load-cannot-load-image[/url]
1764297434
Anonymous
Я пытаюсь загрузить текстуру с помощью stbi_load(). Вот мой код:
[code]int width, height, numComponents;
unsigned char* imgData = stbi_load(fileName.c_str(), &width, &height, &numComponents, 4);
if (imgData == NULL)
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/46020364/stbi-load-cannot-load-image[/url]