aboutsummaryrefslogtreecommitdiff
path: root/src/nodedef.cpp
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2015-08-18 23:59:44 +0200
committerest31 <MTest31@outlook.com>2015-08-20 02:41:40 +0200
commit8b8d17b22b5853c7d32bdb8b369f4523f6c57b95 (patch)
treeaa3b48fcfcfea132fb857360e88f4e96f7ac5510 /src/nodedef.cpp
parent5009d31a333a8e1fff8c97bed69873164c72c600 (diff)
downloadminetest-8b8d17b22b5853c7d32bdb8b369f4523f6c57b95.tar.gz
minetest-8b8d17b22b5853c7d32bdb8b369f4523f6c57b95.tar.bz2
minetest-8b8d17b22b5853c7d32bdb8b369f4523f6c57b95.zip
Remove use of engine sent texture tiling flags - theyre no longer needed
Diffstat (limited to 'src/nodedef.cpp')
-rw-r--r--src/nodedef.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nodedef.cpp b/src/nodedef.cpp
index daaa871f9..269c2b9d6 100644
--- a/src/nodedef.cpp
+++ b/src/nodedef.cpp
@@ -1012,9 +1012,7 @@ void CNodeDefManager::fillTileAttribs(ITextureSource *tsrc, TileSpec *tile,
if (use_normal_texture) {
tile->normal_texture = tsrc->getNormalTexture(tiledef->name);
}
- tile->flags_texture = tsrc->getShaderFlagsTexture(
- tile->normal_texture ? true : false,
- tiledef->tileable_vertical, tiledef->tileable_horizontal);
+ tile->flags_texture = tsrc->getShaderFlagsTexture(tile->normal_texture ? true : false);
// Material flags
tile->material_flags = 0;