summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/swrast/s_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c
index 0c33dff1254..a4acac23336 100644
--- a/src/mesa/swrast/s_context.c
+++ b/src/mesa/swrast/s_context.c
@@ -476,8 +476,8 @@ _swrast_update_texture_samplers(struct gl_context *ctx)
*/
if (tObj) {
_mesa_update_fetch_functions(tObj);
- swrast->TextureSample[u] = _swrast_choose_texture_sample_func(ctx, tObj);
}
+ swrast->TextureSample[u] = _swrast_choose_texture_sample_func(ctx, tObj);
}
}