Module: wine Branch: master Commit: 42927d0e9d60db7139eb55dde1ffa47092623637 URL: http://source.winehq.org/git/wine.git/?a=commit;h=42927d0e9d60db7139eb55dde1...
Author: Stefan Dösinger stefan@codeweavers.com Date: Wed Jan 15 14:54:08 2014 +0100
wined3d: Add INDIB and INUSERMEM to resource_access_from_location.
---
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: