mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
r300g: Silence 'control reaches end of non-void function' warning.
Fixes this GCC warning. r300_hyperz.c: In function 'r300_get_hiz_func': r300_hyperz.c:65: warning: control reaches end of non-void function
This commit is contained in:
parent
0f29d394a4
commit
bbd9616838
1 changed files with 4 additions and 0 deletions
|
|
@ -61,6 +61,10 @@ static enum r300_hiz_func r300_get_hiz_func(struct r300_context *r300)
|
|||
case PIPE_FUNC_GREATER:
|
||||
case PIPE_FUNC_GEQUAL:
|
||||
return HIZ_FUNC_MIN;
|
||||
|
||||
default:
|
||||
assert(0);
|
||||
return HIZ_FUNC_NONE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue