From 847e4cb0384f5bff1e58fc3073b50f98cb15b236 Mon Sep 17 00:00:00 2001 From: hybrid Date: Fri, 20 May 2011 22:00:55 +0000 Subject: [PATCH] Add proper unit for video memory output. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3739 dfc29bdd-3216-0410-991c-e03cc46cb475 --- source/Irrlicht/CD3D9Driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Irrlicht/CD3D9Driver.cpp b/source/Irrlicht/CD3D9Driver.cpp index 80dea73c..2c06c323 100644 --- a/source/Irrlicht/CD3D9Driver.cpp +++ b/source/Irrlicht/CD3D9Driver.cpp @@ -394,7 +394,7 @@ bool CD3D9Driver::initDriver(HWND hwnd, bool pureSoftware) // get caps pID3DDevice->GetDeviceCaps(&Caps); - os::Printer::log("Currently available Video Memory", core::stringc(pID3DDevice->GetAvailableTextureMem()).c_str()); + os::Printer::log("Currently available Video Memory (kB)", core::stringc(pID3DDevice->GetAvailableTextureMem()/1024).c_str()); // disable stencilbuffer if necessary if (Params.Stencilbuffer &&