wined3d: Add INDIB and INUSERMEM to resource_access_from_location.

This commit is contained in:
Stefan Dösinger 2014-01-15 14:54:08 +01:00 committed by Alexandre Julliard
parent 7a0a4ce7ab
commit 42927d0e9d
1 changed files with 2 additions and 0 deletions

View File

@ -4885,6 +4885,8 @@ static DWORD resource_access_from_location(DWORD location)
switch (location) switch (location)
{ {
case SFLAG_INSYSMEM: case SFLAG_INSYSMEM:
case SFLAG_INUSERMEM:
case SFLAG_INDIB:
return WINED3D_RESOURCE_ACCESS_CPU; return WINED3D_RESOURCE_ACCESS_CPU;
case SFLAG_INDRAWABLE: case SFLAG_INDRAWABLE: