fixed unused-variable warnings

This commit is contained in:
akallabeth
2024-02-20 10:36:40 +01:00
committed by akallabeth
parent 43eae6029f
commit 05e555feb7
6 changed files with 4 additions and 7 deletions

View File

@@ -462,7 +462,7 @@ static void test_peer_draw_icon(freerdp_peer* client, UINT32 x, UINT32 y)
{
const UINT32 colorFormat =
context->image->bitsPerPixel > 24 ? PIXEL_FORMAT_BGRA32 : PIXEL_FORMAT_BGR24;
const UINT32 bpp = FreeRDPGetBytesPerPixel(colorFormat);
if (RemoteFxCodec)
{
rfx_context_set_pixel_format(context->rfx_context, colorFormat);