preload crack.png to reduce some HUD flicker

This commit is contained in:
darkrose 2015-12-27 20:10:16 +10:00
parent 52ec93b116
commit 053c16b005
1 changed files with 2 additions and 0 deletions

View File

@ -1155,6 +1155,8 @@ int main(int argc, char *argv[])
init_mapnode(device); // Second call with g_texturesource set
drawLoadingScreen(device,wgettext("Loading Creatures"));
content_mob_init();
// preloading this reduces some hud flicker
g_texturesource->getTextureId("crack.png");
drawLoadingScreen(device,wgettext("Setting Up Sound"));