From 18e75aa6ae27a6e44d93babd96afbbe0cd6077c8 Mon Sep 17 00:00:00 2001 From: marha Date: Fri, 3 Aug 2012 08:16:19 +0200 Subject: pixman mesa git update 3 Aug 2012 --- mesalib/src/mesa/swrast/s_context.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mesalib/src/mesa/swrast/s_context.c') diff --git a/mesalib/src/mesa/swrast/s_context.c b/mesalib/src/mesa/swrast/s_context.c index 432db71c8..4ed7b94c7 100644 --- a/mesalib/src/mesa/swrast/s_context.c +++ b/mesalib/src/mesa/swrast/s_context.c @@ -480,9 +480,7 @@ _swrast_update_texture_samplers(struct gl_context *ctx) /* Note: If tObj is NULL, the sample function will be a simple * function that just returns opaque black (0,0,0,1). */ - if (tObj) { - _mesa_update_fetch_functions(tObj); - } + _mesa_update_fetch_functions(ctx, u); swrast->TextureSample[u] = _swrast_choose_texture_sample_func(ctx, tObj, _mesa_get_samplerobj(ctx, u)); -- cgit v1.2.3