1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

Some minor Fastface optimizations. (#7628)

This commit is contained in:
lhofhansl
2018-08-08 17:53:06 +04:00
committed by Loïc Blot
parent 8d68b2cd21
commit 3a95d760e9
3 changed files with 10 additions and 13 deletions

View File

@@ -313,10 +313,7 @@ struct TileLayer
*/
struct TileSpec
{
TileSpec() {
for (auto &layer : layers)
layer = TileLayer();
}
TileSpec() = default;
/*!
* Returns true if this tile can be merged with the other tile.