[PATCH 1/5] wined3d: Add INDIB and INUSERMEM to resource_access_from_location.
Stefan Dösinger
stefan at codeweavers.com
Wed Jan 15 07:54:08 CST 2014
---
dlls/wined3d/surface.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index d70f605..92750cb 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -4885,6 +4885,8 @@ static DWORD resource_access_from_location(DWORD location)
switch (location)
{
case SFLAG_INSYSMEM:
+ case SFLAG_INUSERMEM:
+ case SFLAG_INDIB:
return WINED3D_RESOURCE_ACCESS_CPU;
case SFLAG_INDRAWABLE:
--
1.8.3.2
More information about the wine-patches
mailing list