Base lightrendering started, still some work to be done.

This commit is contained in:
tleety
2015-09-10 22:13:37 +02:00
parent f2209466ef
commit c0589563af
7 changed files with 61 additions and 18 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ dd::Texture::Texture(std::string path)
std::unique_ptr<Image> image = std::make_unique<PNG>(path);
if (image->Width == 0 && image->Height == 0 || image->Format == Image::ImageFormat::Unknown) {
image = std::make_unique<PNG>("Textures/ErrorTexture.png");
image = std::make_unique<PNG>("Textures/Core/ErrorTexture.png");
if (image->Width == 0 && image->Height == 0 || image->Format == Image::ImageFormat::Unknown) {
LOG_ERROR("Couldn't even load the error texture. This is a dark day indeed.");
return;