mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
vc4: Fix use of a bool as an enum.
The enum compared to was 0, so it worked out, but it sure looked wrong.
This commit is contained in:
parent
04605c21f6
commit
8975a09494
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ vc4_setup_slices(struct vc4_resource *rsc)
|
|||
level_height = u_minify(pot_height, i);
|
||||
}
|
||||
|
||||
if (rsc->tiled == VC4_TILING_FORMAT_LINEAR) {
|
||||
if (!rsc->tiled) {
|
||||
slice->tiling = VC4_TILING_FORMAT_LINEAR;
|
||||
level_width = align(level_width, 16);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue