]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
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 0f0de908d6418678f0ebcf1be3ec9e204f3eb782..a88fe2e3e6bdd59b935646e549651c242964324d 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 {
 };