mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
local game connects to 127.0.0.1 instead of localhost (windows returns an ipv6 address sometimes which is not supported)
This commit is contained in:
parent
15f27a1937
commit
b0971f4459
6 changed files with 30 additions and 9 deletions
|
@ -169,6 +169,16 @@ video::ITexture* IrrlichtWrapper::getTextureDirect(const TextureSpec &spec)
|
|||
std::string path = porting::getDataPath(name.c_str());
|
||||
dstream<<"getTextureDirect(): Loading path \""<<path
|
||||
<<"\""<<std::endl;
|
||||
|
||||
// DEBUG
|
||||
/*{
|
||||
dstream<<"DEBUG CODE: Loading base image "
|
||||
"directly to texture"<<std::endl;
|
||||
t = driver->getTexture(path.c_str());
|
||||
driver->renameTexture(t, texture_name.c_str());
|
||||
return t;
|
||||
}*/
|
||||
|
||||
video::IImage *image = driver->createImageFromFile(path.c_str());
|
||||
|
||||
if(image == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue