Fixed WINPR_ASSERT statement (#7148)

This commit is contained in:
akallabeth 2021-07-02 18:42:22 +02:00 committed by GitHub
parent 9de02e547e
commit 0ab809d696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,8 +342,8 @@ static UINT rdpgfx_send_create_surface_pdu(RdpgfxServerContext* context,
WINPR_ASSERT(context);
WINPR_ASSERT(pdu);
WINPR_ASSERT((pdu->pixelFormat == GFX_PIXEL_FORMAT_XRGB_8888 0x20) ||
(pdu->pixelFormat == GFX_PIXEL_FORMAT_ARGB_8888 0x21));
WINPR_ASSERT((pdu->pixelFormat == GFX_PIXEL_FORMAT_XRGB_8888) ||
(pdu->pixelFormat == GFX_PIXEL_FORMAT_ARGB_8888));
if (!s)
{