Log parameters when CreateTexture call in CD3D9Texture::generateRenderTarget fails.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5623 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
7442e24ded
commit
32c532ee36
|
@ -360,6 +360,15 @@ void CD3D9Texture::generateRenderTarget()
|
|||
os::Printer::log("Could not create render target texture", "Out of Memory", irr::ELL_ERROR);
|
||||
else
|
||||
os::Printer::log("Could not create render target texture", irr::ELL_ERROR);
|
||||
core::stringc params("Width:");
|
||||
params += (unsigned int)Size.Width;
|
||||
params += " Height: ";
|
||||
params += (unsigned int)Size.Height;
|
||||
params += " flag: ";
|
||||
params += (unsigned int)flag;
|
||||
params += " format";
|
||||
params += (unsigned int)InternalFormat;
|
||||
os::Printer::log(params.c_str(), irr::ELL_ERROR);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue