1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-24 16:38:49 -05:00

disable tiling of textures only if smooth lighting is used

This commit is contained in:
Perttu Ahola 2011-04-24 12:39:33 +03:00
parent b21c7de3ed
commit 79799840a2

View File

@ -468,7 +468,12 @@ void updateFastFaceRow(
end_of_texture = true; end_of_texture = true;
} }
end_of_texture = true; //DEBUG // Do this to disable tiling textures
//end_of_texture = true; //DEBUG
// Disable tiling of textures if smooth lighting is used
if(smooth_lighting)
end_of_texture = true;
if(next_is_different || end_of_texture) if(next_is_different || end_of_texture)
{ {