aboutsummaryrefslogtreecommitdiff
path: root/src/shader.cpp
diff options
context:
space:
mode:
authorZeno- <kde.psych@gmail.com>2016-11-23 01:23:34 +1000
committerGitHub <noreply@github.com>2016-11-23 01:23:34 +1000
commitdbeb322f62bfdd431365622a6f5ddfae062c0d31 (patch)
treecdcab8ddcfb53bc1f59632278aab437e86af43e4 /src/shader.cpp
parent4bf4154cad127560ffe831e7b2cd1a0b960d0f03 (diff)
downloadminetest-dbeb322f62bfdd431365622a6f5ddfae062c0d31.tar.gz
minetest-dbeb322f62bfdd431365622a6f5ddfae062c0d31.tar.bz2
minetest-dbeb322f62bfdd431365622a6f5ddfae062c0d31.zip
No functional changes. Credit gcu
This merge doesn't make any functional changes. It's a trivial style fix so that @gregorycu can be dual credited along with shadowninja for PR #4800
Diffstat (limited to 'src/shader.cpp')
-rw-r--r--src/shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader.cpp b/src/shader.cpp
index 170b0354d..d51c1e308 100644
--- a/src/shader.cpp
+++ b/src/shader.cpp
@@ -557,7 +557,7 @@ ShaderInfo generate_shader(std::string name, u8 material_type, u8 drawtype,
}
bool enable_shaders = g_settings->getBool("enable_shaders");
- if(!enable_shaders)
+ if (!enable_shaders)
return shaderinfo;
video::IVideoDriver* driver = device->getVideoDriver();