From e3f3f753de5faa4f8dd7408dea496c0a1d496b10 Mon Sep 17 00:00:00 2001 From: cutealien Date: Tue, 13 Feb 2024 19:53:16 +0000 Subject: [PATCH] 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 --- source/Irrlicht/CD3D9Driver.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/Irrlicht/CD3D9Driver.cpp b/source/Irrlicht/CD3D9Driver.cpp index 3e251f24..0d783b0c 100644 --- a/source/Irrlicht/CD3D9Driver.cpp +++ b/source/Irrlicht/CD3D9Driver.cpp @@ -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 &&