mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-04 08:48:14 +02:00
r600g: Silence 'control reaches end of non-void function' warning.
Fixes this GCC warning. r600_hw_states.c: In function 'r600_translate_fill': r600_state_inlines.h:136: warning: control reaches end of non-void function
This commit is contained in:
parent
95cb6d30ae
commit
53e6eb8dbe
1 changed files with 3 additions and 0 deletions
|
|
@ -132,6 +132,9 @@ static INLINE uint32_t r600_translate_fill(uint32_t func)
|
|||
return 1;
|
||||
case PIPE_POLYGON_MODE_POINT:
|
||||
return 0;
|
||||
default:
|
||||
assert(0);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue