mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
llvmpipe: Silence uninitialized variable warning about "scissor"
nr_planes is only > 3 when scissor is enabled, but gcc doesn't see it. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3867>
This commit is contained in:
parent
dc8c5af99b
commit
81225e1f03
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ do_triangle_ccw(struct lp_setup_context *setup,
|
|||
const struct lp_setup_variant_key *key = &setup->setup.variant->key;
|
||||
struct lp_rast_triangle *tri;
|
||||
struct lp_rast_plane *plane;
|
||||
const struct u_rect *scissor;
|
||||
const struct u_rect *scissor = NULL;
|
||||
struct u_rect bbox, bboxpos;
|
||||
boolean s_planes[4];
|
||||
unsigned tri_bytes;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue