summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-08 13:57:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-08 14:42:50 +0300
commit0f500fab826a57f8aae8a3e2062a90ee9e80a199 (patch)
tree7b64795fb51efd026adf246eb1306c9da05c2892 /src/resources/resourcemanager.h
parente05655679e7bd9488c31169ece3d404fd9160c8d (diff)
downloadmanaverse-0f500fab826a57f8aae8a3e2062a90ee9e80a199.tar.gz
manaverse-0f500fab826a57f8aae8a3e2062a90ee9e80a199.tar.bz2
manaverse-0f500fab826a57f8aae8a3e2062a90ee9e80a199.tar.xz
manaverse-0f500fab826a57f8aae8a3e2062a90ee9e80a199.zip
Add ShaderManager and Shader class.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index 16640c7fd..f7d901f09 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -175,6 +175,9 @@ class ResourceManager final
#ifdef USE_OPENGL
Resource *getAtlas(const std::string &name,
const StringVect &files) A_WARN_UNUSED;
+
+ Resource *getShader(const unsigned int type,
+ const std::string &name) A_WARN_UNUSED;
#endif
WalkLayer *getWalkLayer(const std::string &name, Map *const map);