summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2019-03-01 13:55:30 -0700
committerBrian Paul <[email protected]>2019-03-04 11:48:47 -0700
commit999db9ac51b312f8d18f5a39025f1b0dabddd073 (patch)
tree35078c604f29eabb1686f4c642a9354e9c641ff8 /src/gallium/drivers/svga
parent9b07a221a4acd5fc80f9a5be56b4484e37c39e80 (diff)
svga: init fill variable to avoid compiler warning
MinGW release builds warns about use of a possbily uninitialized variable here. Reviewed-by: Neha Bhende <[email protected]> Reviewed-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/svga_pipe_rasterizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_rasterizer.c b/src/gallium/drivers/svga/svga_pipe_rasterizer.c
index 1dbf5b6debb..7d5936fa1ec 100644
--- a/src/gallium/drivers/svga/svga_pipe_rasterizer.c
+++ b/src/gallium/drivers/svga/svga_pipe_rasterizer.c
@@ -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;