=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Use the system memory pool for the logo surface.

Alexandre Julliard julliard at winehq.org
Mon Jun 25 13:24:15 CDT 2012


Module: wine
Branch: master
Commit: d760b21ab611f5ef51af7f147d60db846cdd3433
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d760b21ab611f5ef51af7f147d60db846cdd3433

Author: Józef Kucia <joseph.kucia at gmail.com>
Date:   Thu Jun 21 14:15:39 2012 +0200

wined3d: Use the system memory pool for the logo surface.

---

 dlls/wined3d/device.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 4c3282c..ed1ebbd 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -944,7 +944,7 @@ static void device_load_logo(struct wined3d_device *device, const char *filename
     }
 
     hr = wined3d_surface_create(device, bm.bmWidth, bm.bmHeight, WINED3DFMT_B5G6R5_UNORM, 0, 0,
-            WINED3D_POOL_DEFAULT, WINED3D_MULTISAMPLE_NONE, 0, WINED3D_SURFACE_TYPE_OPENGL, WINED3D_SURFACE_MAPPABLE,
+            WINED3D_POOL_SYSTEM_MEM, WINED3D_MULTISAMPLE_NONE, 0, WINED3D_SURFACE_TYPE_OPENGL, WINED3D_SURFACE_MAPPABLE,
             NULL, &wined3d_null_parent_ops, &device->logo_surface);
     if (FAILED(hr))
     {




More information about the wine-cvs mailing list