aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-01-26 17:04:21 +0100
committerAxel Davy <[email protected]>2016-02-12 23:26:36 +0100
commit36b4bb303cec3de59621f41a8dea3aaeca3d12c5 (patch)
treedede359cbee607bf9f1bd4035a20b29bc1f1a37e /src/gallium/state_trackers
parent77a5871c1dfcc2cf3032e873a5c7e4a2e7093889 (diff)
st/nine: Do not set SHARED flag for shared textures.
We do not support shared textures, thus no need to set the shared flag. Signed-off-by: Axel Davy <[email protected]> Reviewed-by: Patrick Rudolph <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/nine/texture9.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/nine/texture9.c b/src/gallium/state_trackers/nine/texture9.c
index a11dad41e9c..6d1f89754bb 100644
--- a/src/gallium/state_trackers/nine/texture9.c
+++ b/src/gallium/state_trackers/nine/texture9.c
@@ -140,9 +140,6 @@ NineTexture9_ctor( struct NineTexture9 *This,
DBG("Application asked for Software Vertex Processing, "
"but this is unimplemented\n");
- if (pSharedHandle)
- info->bind |= PIPE_BIND_SHARED;
-
if (pSharedHandle && *pSharedHandle) { /* Pool == D3DPOOL_SYSTEMMEM */
user_buffer = (void *)*pSharedHandle;
level_offsets = alloca(sizeof(unsigned) * (info->last_level + 1));