mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-10 01:33:51 +01:00
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:
parent
cd1ce549ab
commit
e3f3f753de
@ -395,7 +395,8 @@ bool CD3D9Driver::initDriver(HWND hwnd, bool pureSoftware)
|
|||||||
// get caps
|
// get caps
|
||||||
pID3DDevice->GetDeviceCaps(&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
|
// disable stencilbuffer if necessary
|
||||||
if (Params.Stencilbuffer &&
|
if (Params.Stencilbuffer &&
|
||||||
|
Loading…
Reference in New Issue
Block a user