[PATCH 2/5] wined3d: Place the logo texture in the default pool.

Henri Verbeet hverbeet at codeweavers.com
Fri Jan 10 03:43:03 CST 2014


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

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 40790c1..ecad608 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -580,8 +580,8 @@ static void device_load_logo(struct wined3d_device *device, const char *filename
     desc.format = WINED3DFMT_B5G6R5_UNORM;
     desc.multisample_type = WINED3D_MULTISAMPLE_NONE;
     desc.multisample_quality = 0;
-    desc.usage = 0;
-    desc.pool = WINED3D_POOL_SYSTEM_MEM;
+    desc.usage = WINED3DUSAGE_DYNAMIC;
+    desc.pool = WINED3D_POOL_DEFAULT;
     desc.width = bm.bmWidth;
     desc.height = bm.bmHeight;
     desc.depth = 1;
-- 
1.7.10.4




More information about the wine-patches mailing list