mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
svga: init fill variable to avoid compiler warning
MinGW release builds warns about use of a possbily uninitialized variable here. Reviewed-by: Neha Bhende <bhenden@vmware.com> Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
This commit is contained in:
parent
9b07a221a4
commit
999db9ac51
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ svga_create_rasterizer_state(struct pipe_context *pipe,
|
|||
{
|
||||
int fill_front = templ->fill_front;
|
||||
int fill_back = templ->fill_back;
|
||||
int fill;
|
||||
int fill = PIPE_POLYGON_MODE_FILL;
|
||||
boolean offset_front = util_get_offset(templ, fill_front);
|
||||
boolean offset_back = util_get_offset(templ, fill_back);
|
||||
boolean offset = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue