diff options
-rw-r--r-- | src/gallium/drivers/r300/r300_state_derived.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c index 730ef7a3ee2..efec9495104 100644 --- a/src/gallium/drivers/r300/r300_state_derived.c +++ b/src/gallium/drivers/r300/r300_state_derived.c @@ -633,6 +633,11 @@ static uint32_t r300_get_border_color(enum pipe_format format, ((float_to_ubyte(border_swizzled[0]) & 0xff) << 16) | ((float_to_ubyte(border_swizzled[3]) & 0xff) << 24); break; + + default: + assert(0); + r = 0; + break; } return r; |