mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
gallium/util: silence clang warning in blitter code
Silence "warning: comparison of constant 4294967295 with expression of type 'ubyte'". Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
4b0a45da25
commit
11e92889aa
1 changed files with 1 additions and 1 deletions
|
|
@ -659,7 +659,7 @@ void util_blitter_restore_fragment_states(struct blitter_context *blitter)
|
|||
|
||||
static void blitter_check_saved_fb_state(MAYBE_UNUSED struct blitter_context_priv *ctx)
|
||||
{
|
||||
assert(ctx->base.saved_fb_state.nr_cbufs != ~0u);
|
||||
assert(ctx->base.saved_fb_state.nr_cbufs != (ubyte) ~0);
|
||||
}
|
||||
|
||||
static void blitter_disable_render_cond(struct blitter_context_priv *ctx)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue