loadSpecial is not used 101/head
authorThomas Debesse <dev@illwieckz.net>
Sun, 15 Jul 2018 12:50:53 +0000 (14:50 +0200)
committerThomas Debesse <dev@illwieckz.net>
Wed, 3 Oct 2018 00:00:16 +0000 (02:00 +0200)
plugins/shaders/shaders.cpp

index 0f0de90..a88fe2e 100644 (file)
@@ -210,20 +210,6 @@ Image *loadHeightmap(void *environment, const char *name)
     return 0;
 }
 
-
-Image *loadSpecial(void *environment, const char *name)
-{
-    if (*name == '_') { // special image
-        StringOutputStream bitmapName(256);
-        bitmapName << GlobalRadiant().getAppPath() << "bitmaps/" << name + 1 << ".png";
-        Image *image = loadBitmap(environment, bitmapName.c_str());
-        if (image != 0) {
-            return image;
-        }
-    }
-    return GlobalTexturesCache().loadImage(name);
-}
-
 class ShaderPoolContext {
 };