]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/shaders/shaders.cpp
fixed crash on disabling lighting
[xonotic/netradiant.git] / plugins / shaders / shaders.cpp
index 3bfa7296305f14eed5c9d034cb23b294d7c3e659..7732681052b4b5b3acc80e1f3787d90d59fbf1ca 100644 (file)
@@ -1177,6 +1177,7 @@ public:
       {
         GlobalTexturesCache().release((*i).texture());
       }
+      m_layers.clear();
     }
   }