projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf4154
)
No functional changes. Credit gcu
author
Zeno-
<kde.psych@gmail.com>
Tue, 22 Nov 2016 15:23:34 +0000
(
01:23
+1000)
committer
GitHub
<noreply@github.com>
Tue, 22 Nov 2016 15:23:34 +0000
(
01:23
+1000)
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
src/shader.cpp
patch
|
blob
|
history
diff --git
a/src/shader.cpp
b/src/shader.cpp
index 170b0354d27574a9b386b46c4171b11b9a14f329..d51c1e3087e63f5322878502ad611229ab39bdc8 100644
(file)
--- 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();