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
|
@ -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…
Reference in New Issue