From 9f61e43b4903c6cf0ac03a479ec9ed7b15fd6ccf Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 27 Sep 2011 10:08:34 +0100 Subject: gallium: move border color to be a color union EXT_texture_integer also specifies border color should be a color union, the values are used according to the texture sampler format. (update docs) Signed-off-by: Dave Airlie Reviewed-by: Brian Paul --- src/gallium/auxiliary/draw/draw_llvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary/draw/draw_llvm.c') diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c index 24f98588efd..d427d2c9ced 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.c +++ b/src/gallium/auxiliary/draw/draw_llvm.c @@ -1509,7 +1509,7 @@ draw_llvm_set_sampler_state(struct draw_context *draw) jit_tex->min_lod = draw->samplers[i]->min_lod; jit_tex->max_lod = draw->samplers[i]->max_lod; jit_tex->lod_bias = draw->samplers[i]->lod_bias; - COPY_4V(jit_tex->border_color, draw->samplers[i]->border_color); + COPY_4V(jit_tex->border_color, draw->samplers[i]->border_color.f); } } } -- cgit v1.2.3