diff options
Diffstat (limited to 'src/gallium/state_trackers/nine/pixelshader9.h')
-rw-r--r-- | src/gallium/state_trackers/nine/pixelshader9.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/pixelshader9.h b/src/gallium/state_trackers/nine/pixelshader9.h index 67a18f20c42..accd00a6a8c 100644 --- a/src/gallium/state_trackers/nine/pixelshader9.h +++ b/src/gallium/state_trackers/nine/pixelshader9.h @@ -80,7 +80,7 @@ NinePixelShader9_UpdateKey( struct NinePixelShader9 *ps, while (m) { int s = ffs(m) - 1; m &= ~(1 << s); - samplers_ps1_types |= (context->texture[s] ? context->texture[s]->pstype : 1) << (s * 2); + samplers_ps1_types |= (context->texture[s].enabled ? context->texture[s].pstype : 1) << (s * 2); } key = samplers_ps1_types; } else { |