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/include/pipe/p_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/include/pipe/p_state.h') diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index a57e805bd13..90a85601852 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -272,7 +272,7 @@ struct pipe_sampler_state unsigned seamless_cube_map:1; float lod_bias; /**< LOD/lambda bias */ float min_lod, max_lod; /**< LOD clamp range, after bias */ - float border_color[4]; + union pipe_color_union border_color; }; -- cgit v1.2.3