Hi nice people,
I do not understand why it does not create the texture:
look at the code, where am I wrong?
void GetImageFromCache(char * path, std::function<void(Image)>CallBack) {
CallBack(LoadImage(path));
}
std::thread t(GetImageFromCache,PATH,[this](Image img) {
TEXTURE_NORMAL = LoadTextureFromImage(img);
});
Hi nice people,
I do not understand why it does not create the texture:
look at the code, where am I wrong?