Light Culling still doesn't work properly

This commit is contained in:
Dynamitos committed 2022-02-24 22:38:26 +01:00
1 parent 5268bb68e2
commit 84049a762c
44 files changed
+163 -151

No files matched your search

+2 -2
View File
@@ -38,7 +38,7 @@ PTextureAsset TextureLoader::getPlaceholderTexture()
return placeholderAsset;
}
Job TextureLoader::import(std::filesystem::path path, PTextureAsset textureAsset)
void TextureLoader::import(std::filesystem::path path, PTextureAsset textureAsset)
{
int x, y, n;
unsigned char* data = stbi_load(path.string().c_str(), &x, &y, &n, 4);
@@ -70,5 +70,5 @@ Job TextureLoader::import(std::filesystem::path path, PTextureAsset textureAsset
textureAsset->load();
textureAsset->setStatus(Asset::Status::Ready);
co_return;
//co_return;
}