mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01:00
dzn: Fix 'statement with no effect' warning
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17250>
This commit is contained in:
parent
97dbebb558
commit
a1715875e1
2 changed files with 1 additions and 1 deletions
|
|
@ -1474,7 +1474,6 @@ dzn_graphics_pipeline_translate_blend(struct dzn_graphics_pipeline *pipeline,
|
|||
|
||||
desc->RenderTarget[i].BlendEnable =
|
||||
in_blend->pAttachments[i].blendEnable;
|
||||
in_blend->logicOpEnable;
|
||||
desc->RenderTarget[i].RenderTargetWriteMask =
|
||||
in_blend->pAttachments[i].colorWriteMask;
|
||||
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ if cc.get_argument_syntax() != 'msvc'
|
|||
dzn_flags += [
|
||||
'-Werror=unused-variable',
|
||||
'-Werror=unused-but-set-variable',
|
||||
'-Werror=unused-value',
|
||||
]
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue