diff options
author | Marek Olšák <[email protected]> | 2017-06-14 23:02:04 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-22 01:51:02 +0200 |
commit | 2ec1e32d11ed788dfed229a569a238743b9b1f9f (patch) | |
tree | be620fc2a2612fa3182bc53b68f8dd26c581aff2 | |
parent | d7e52327f0ad7e01d071b09d0e9bfd2822a855a9 (diff) |
st/mesa: fix pipe_rasterizer_state::scissor with multiple viewports
Cc: 17.1 <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r-- | src/mesa/state_tracker/st_atom_rasterizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_rasterizer.c b/src/mesa/state_tracker/st_atom_rasterizer.c index e38896068e8..39be6b15a70 100644 --- a/src/mesa/state_tracker/st_atom_rasterizer.c +++ b/src/mesa/state_tracker/st_atom_rasterizer.c @@ -262,7 +262,7 @@ void st_update_rasterizer( struct st_context *st ) _mesa_geometric_samples(ctx->DrawBuffer) > 1; /* _NEW_SCISSOR */ - raster->scissor = ctx->Scissor.EnableFlags; + raster->scissor = !!ctx->Scissor.EnableFlags; /* _NEW_FRAG_CLAMP */ raster->clamp_fragment_color = !st->clamp_frag_color_in_shader && |