summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/evergreen_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/evergreen_state.c b/src/gallium/drivers/radeonsi/evergreen_state.c
index 5049c7b2db6..d70eda012f5 100644
--- a/src/gallium/drivers/radeonsi/evergreen_state.c
+++ b/src/gallium/drivers/radeonsi/evergreen_state.c
@@ -1127,7 +1127,7 @@ static void *si_create_sampler_state(struct pipe_context *ctx,
border_color_type = 1;
break;
case 0xFFFFFFFF: /* white */
- border_color_type = 1;
+ border_color_type = 2;
break;
default: /* Use border color pointer */
border_color_type = 3;