diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-10-18 11:31:23 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-10-18 11:31:23 +0300 |
commit | 05ab58cd145785867e3836ff025f11ce6fdd9410 (patch) | |
tree | 23dc25848a2773713339d7361293304e1cd3c27b /src/main.cpp | |
parent | eae2d35ca568ccb652169f83e6a995db273fba94 (diff) | |
download | minetest-05ab58cd145785867e3836ff025f11ce6fdd9410.tar.gz minetest-05ab58cd145785867e3836ff025f11ce6fdd9410.tar.bz2 minetest-05ab58cd145785867e3836ff025f11ce6fdd9410.zip |
Automate texture listing for texture atlas making
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index be983676e..df1347f12 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1278,6 +1278,9 @@ int main(int argc, char *argv[]) // Initial call with g_texturesource not set. init_mapnode(); + // Must be called before g_texturesource is created + // (for texture atlas making) + init_mineral(); /* Run unit tests @@ -1475,7 +1478,6 @@ int main(int argc, char *argv[]) */ init_mapnode(); // Second call with g_texturesource set - init_mineral(); /* GUI stuff |