summaryrefslogtreecommitdiff
path: root/src/render/shaders
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-08 20:30:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-08 20:30:40 +0300
commitfd3223578c0a0789627a92cc63235c24e75f87c3 (patch)
tree48b90671150a8ea4a7d3b9306d3eabca349d556a /src/render/shaders
parent27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f (diff)
downloadmanaverse-fd3223578c0a0789627a92cc63235c24e75f87c3.tar.gz
manaverse-fd3223578c0a0789627a92cc63235c24e75f87c3.tar.bz2
manaverse-fd3223578c0a0789627a92cc63235c24e75f87c3.tar.xz
manaverse-fd3223578c0a0789627a92cc63235c24e75f87c3.zip
Remove most setters and getters from Resource class.
Diffstat (limited to 'src/render/shaders')
-rw-r--r--src/render/shaders/shadersmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/shaders/shadersmanager.cpp b/src/render/shaders/shadersmanager.cpp
index 90ee9c3e6..8b0d89269 100644
--- a/src/render/shaders/shadersmanager.cpp
+++ b/src/render/shaders/shadersmanager.cpp
@@ -117,8 +117,8 @@ ShaderProgram *ShadersManager::createProgram(const std::string &vertex,
mglGetProgramInfoLog(programId, len, &len, buf);
buf[len] = 0;
logger->log("Program '%s, %s' compilation error: %s",
- vertexShader->getIdPath().c_str(),
- fragmentShader->getIdPath().c_str(),
+ vertexShader->mIdPath.c_str(),
+ fragmentShader->mIdPath.c_str(),
buf);
delete [] buf;
mglDeleteProgram(programId);