summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/stateblock9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2015-02-19 16:18:00 +0100
committerAxel Davy <[email protected]>2015-04-29 08:28:11 +0200
commite558ce98f2b01e11ff79c29efaea2877121ae04a (patch)
tree1364f1700df4181d4108a543bbbdc449f8d0adba /src/gallium/state_trackers/nine/stateblock9.c
parent35fe920e1ec877d487e5dd33c9aea7e1ec1dbe11 (diff)
st/nine: Encapsulate variables for MANAGED resource
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/stateblock9.c')
-rw-r--r--src/gallium/state_trackers/nine/stateblock9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/stateblock9.c b/src/gallium/state_trackers/nine/stateblock9.c
index 13217ae4547..032b9ffcbf0 100644
--- a/src/gallium/state_trackers/nine/stateblock9.c
+++ b/src/gallium/state_trackers/nine/stateblock9.c
@@ -501,7 +501,7 @@ NineStateBlock9_Apply( struct NineStateBlock9 *This )
continue;
if (tex) {
tex->bind_count++;
- if ((tex->dirty | tex->dirty_mip) && LIST_IS_EMPTY(&tex->list))
+ if ((tex->managed.dirty | tex->dirty_mip) && LIST_IS_EMPTY(&tex->list))
list_add(&tex->list, &This->base.device->update_textures);
dst->samplers_shadow |= tex->shadow << s;
}