From 3d3cf1ae2768a58ce6c6671138f427b163bec801 Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Sun, 28 Nov 2021 11:50:08 -0800 Subject: [PATCH] Remove commented transparent png. --- src/gltf/TextureBuilder.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gltf/TextureBuilder.cpp b/src/gltf/TextureBuilder.cpp index a59997d..b255249 100644 --- a/src/gltf/TextureBuilder.cpp +++ b/src/gltf/TextureBuilder.cpp @@ -218,9 +218,6 @@ std::shared_ptr TextureBuilder::simple(int rawTexIndex, const std:: } } if (!image) { - // fallback is tiny transparent PNG - // image = new ImageData(textureName, - // "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg=="); return nullptr; }