mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
iris: Initialize pointer with NULL, not false
Reported by clang's `-Wbool-conversion`. Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34014>
This commit is contained in:
parent
7534559f2f
commit
b05c26f54b
1 changed files with 1 additions and 1 deletions
|
|
@ -649,7 +649,7 @@ clear_depth_stencil(struct iris_context *ice,
|
|||
fast_clear_depth(ice, z_res, level, box, depth);
|
||||
iris_dirty_for_history(ice, res);
|
||||
clear_depth = false;
|
||||
z_res = false;
|
||||
z_res = NULL;
|
||||
}
|
||||
|
||||
/* At this point, we might have fast cleared the depth buffer. So if there's
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue