Henri Verbeet : wined3d: Place the logo texture in the default pool.

Alexandre Julliard julliard at winehq.org
Fri Jan 10 13:22:45 CST 2014


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Jan 10 10:43:03 2014 +0100

wined3d: Place the logo texture in the default pool.

---

 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;




More information about the wine-cvs mailing list