forked from oerkki/voxelands
preload crack.png to reduce some HUD flicker
This commit is contained in:
parent
52ec93b116
commit
053c16b005
|
@ -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"));
|
||||
|
||||
|
|
Loading…
Reference in New Issue