Roderick Colenbrander : wined3d: Fix the amount of texture memory in the debug traces.
Alexandre Julliard
julliard at winehq.org
Mon Oct 29 08:34:52 CDT 2007
Module: wine
Branch: master
Commit: 6760ce83a416c658fda486ec4783d1969ce1a87b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6760ce83a416c658fda486ec4783d1969ce1a87b
Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date: Sat Oct 27 23:08:11 2007 +0200
wined3d: Fix the amount of texture memory in the debug traces.
---
dlls/wined3d/directx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index ecfb095..ad71295 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -2765,7 +2765,7 @@ BOOL InitAdapters(void) {
else
Adapters[0].TextureRam = Adapters[0].gl_info.vidmem;
Adapters[0].UsedTextureRam = 0;
- TRACE("Emulating %dMB of texture ram\n", Adapters[0].TextureRam);
+ TRACE("Emulating %dMB of texture ram\n", Adapters[0].TextureRam/(1024*1024));
/* Initialize the Adapter's DeviceName which is required for ChangeDisplaySettings and friends */
DisplayDevice.cb = sizeof(DisplayDevice);
More information about the wine-cvs
mailing list