aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/tile.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/tile.cpp b/src/client/tile.cpp
index a31e3aca1..091e546c6 100644
--- a/src/client/tile.cpp
+++ b/src/client/tile.cpp
@@ -762,6 +762,9 @@ void TextureSource::rebuildImagesAndTextures()
// Recreate textures
for (TextureInfo &ti : m_textureinfo_cache) {
+ if (ti.name.empty())
+ continue; // Skip dummy entry
+
video::IImage *img = generateImage(ti.name);
#if ENABLE_GLES
img = Align2Npot2(img, driver);