summaryrefslogtreecommitdiff
path: root/src/resources/loaders/shaderloader.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
commit5612fb3a7f20a9385ba786bb25d25081b86259dd (patch)
treea7548d655f6f8d8298d94ce2f433dd287cde78bd /src/resources/loaders/shaderloader.cpp
parent4431f40818f832e2cbae061927bdf59904cf5d3b (diff)
downloadmanaverse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.gz
manaverse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.bz2
manaverse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.xz
manaverse-5612fb3a7f20a9385ba786bb25d25081b86259dd.zip
Fix code style.
Diffstat (limited to 'src/resources/loaders/shaderloader.cpp')
-rw-r--r--src/resources/loaders/shaderloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/loaders/shaderloader.cpp b/src/resources/loaders/shaderloader.cpp
index d2ffba348..5d5b70869 100644
--- a/src/resources/loaders/shaderloader.cpp
+++ b/src/resources/loaders/shaderloader.cpp
@@ -48,7 +48,7 @@ namespace
return nullptr;
const ShaderLoader *const rl
- = static_cast<const ShaderLoader *const>(v);
+ = static_cast<const ShaderLoader *>(v);
Shader *const resource = shaders.createShader(rl->type, rl->name);
if (!resource)
reportAlways("Shader creation error: %s", rl->name.c_str());