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:
c772e0e
)
Include TILE_MATERIAL_OPAQUE in shaders header (#6086)
author
stujones11
<stujones111@gmail.com>
Sat, 1 Jul 2017 16:01:07 +0000
(17:01 +0100)
committer
Loïc Blot
<nerzhul@users.noreply.github.com>
Sat, 1 Jul 2017 16:01:07 +0000
(18:01 +0200)
src/shader.cpp
patch
|
blob
|
history
diff --git
a/src/shader.cpp
b/src/shader.cpp
index 4f482fddbb4d0b7f1c3a9f49514ebc84fd1f9182..ac0745cb40fe7820866cf6b86f0bdd17c4c20139 100644
(file)
--- a/
src/shader.cpp
+++ b/
src/shader.cpp
@@
-639,7
+639,7
@@
ShaderInfo generate_shader(const std::string &name, u8 material_type, u8 drawtyp
"TILE_MATERIAL_OPAQUE"
};
- for (int i = 0; i <
6
; i++){
+ for (int i = 0; i <
7
; i++){
shaders_header += "#define ";
shaders_header += materialTypes[i];
shaders_header += " ";