Make text about available texture memory in d3d9 more precise

The value returned doesn't seem that useful :-/

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6595 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2024-02-13 19:53:16 +00:00
parent cd1ce549ab
commit e3f3f753de
1 changed files with 2 additions and 1 deletions

View File

@ -395,7 +395,8 @@ bool CD3D9Driver::initDriver(HWND hwnd, bool pureSoftware)
// get caps
pID3DDevice->GetDeviceCaps(&Caps);
os::Printer::log("Currently available Video Memory (kB)", core::stringc(pID3DDevice->GetAvailableTextureMem()/1024).c_str());
// Uses 32-bit value, so maxes out around 4gb
os::Printer::log("At least available dedicated+shared system texture memory (kB)", core::stringc(pID3DDevice->GetAvailableTextureMem()/1024).c_str());
// disable stencilbuffer if necessary
if (Params.Stencilbuffer &&