|
|
|
|
@ -14,7 +14,6 @@ utilLoadImage(const char* full_path)
|
|
|
|
|
LOG(Info) << "Loading Image: " << full_path << "\n"; |
|
|
|
|
|
|
|
|
|
util_image image; |
|
|
|
|
std::memcpy(image.file_path, full_path, std::strlen(full_path) + 1); |
|
|
|
|
stbi_set_flip_vertically_on_load(1); |
|
|
|
|
image.pixels = stbi_load(full_path, &image.w, &image.h, &image.num_channels, 0); |
|
|
|
|
image.bits_per_channel = 8; |
|
|
|
|
|