From e558ce98f2b01e11ff79c29efaea2877121ae04a Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Thu, 19 Feb 2015 16:18:00 +0100 Subject: st/nine: Encapsulate variables for MANAGED resource Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/device9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/state_trackers/nine/device9.c') diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c index 7ffede57c73..ce2ea769640 100644 --- a/src/gallium/state_trackers/nine/device9.c +++ b/src/gallium/state_trackers/nine/device9.c @@ -2457,7 +2457,7 @@ NineDevice9_SetTexture( struct NineDevice9 *This, if (tex) { state->samplers_shadow |= tex->shadow << Stage; - 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->update_textures); tex->bind_count++; -- cgit v1.2.3