mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
st/mesa: fix pipe_rasterizer_state::scissor with multiple viewports
Cc: 17.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
(cherry picked from commit 2ec1e32d11)
This commit is contained in:
parent
f174362ce7
commit
6e9b965e4e
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ static void update_raster_state( 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 &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue