projects
/
xonotic
/
netradiant.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea169c8
)
loadSpecial is not used
101/head
author
Thomas Debesse <dev@illwieckz.net>
Sun, 15 Jul 2018 12:50:53 +0000
(14:50 +0200)
committer
Thomas Debesse <dev@illwieckz.net>
Wed, 3 Oct 2018 00:00:16 +0000
(
02:00
+0200)
plugins/shaders/shaders.cpp
patch
|
blob
|
history
diff --git
a/plugins/shaders/shaders.cpp
b/plugins/shaders/shaders.cpp
index 0f0de908d6418678f0ebcf1be3ec9e204f3eb782..a88fe2e3e6bdd59b935646e549651c242964324d 100644
(file)
--- a/
plugins/shaders/shaders.cpp
+++ b/
plugins/shaders/shaders.cpp
@@
-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 {
};