mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
st/mesa: add check for color logicop in blit_copy_pixels()
We check that a bunch of raster operations are disabled in blit_copy_pixels(). We also need to check that color logicop is disabled. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
e976860638
commit
6470435190
1 changed files with 1 additions and 0 deletions
|
|
@ -1302,6 +1302,7 @@ blit_copy_pixels(struct gl_context *ctx, GLint srcx, GLint srcy,
|
|||
ctx->_ImageTransferState == 0x0 &&
|
||||
!ctx->Color.BlendEnabled &&
|
||||
!ctx->Color.AlphaEnabled &&
|
||||
(!ctx->Color.ColorLogicOpEnabled || ctx->Color.LogicOp == GL_COPY) &&
|
||||
!ctx->Depth.Test &&
|
||||
!ctx->Fog.Enabled &&
|
||||
!ctx->Stencil.Enabled &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue