summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/d3d1x
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-04-13 21:10:21 +0200
committerMarek Olšák <[email protected]>2012-04-18 16:19:39 +0200
commit5db9cedeafe98c5ac094fc32f7b4d275c273b867 (patch)
treed288ab0c12b7c74723a1dcd250e172277b6a4290 /src/gallium/state_trackers/d3d1x
parenta8a478999c366cd08be2910ea83465d9b69181e8 (diff)
gallium: remove PIPE_TRANSFER_NOOVERWRITE, use equivalent UNSYNCHRONIZED
Diffstat (limited to 'src/gallium/state_trackers/d3d1x')
-rw-r--r--src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h b/src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h
index da3cc237c7b..d5c366ffd4f 100644
--- a/src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h
+++ b/src/gallium/state_trackers/d3d1x/gd3d11/d3d11_context.h
@@ -1501,7 +1501,7 @@ struct GalliumD3D10Device : public GalliumD3D10ScreenImpl<threadsafe>
else if(map_type == D3D11_MAP_WRITE_DISCARD)
usage = PIPE_TRANSFER_WRITE | PIPE_TRANSFER_DISCARD;
else if(map_type == D3D11_MAP_WRITE_NO_OVERWRITE)
- usage = PIPE_TRANSFER_WRITE | PIPE_TRANSFER_NOOVERWRITE;
+ usage = PIPE_TRANSFER_WRITE | PIPE_TRANSFER_UNSYNCHRONIZED;
else
return E_INVALIDARG;
if(map_type & D3D10_MAP_FLAG_DO_NOT_WAIT)