Fixed sample server's wrong rfx pixel format

This commit is contained in:
Norbert Federa 2017-07-10 11:31:42 +02:00
parent ccf9b0a77b
commit 99a58ab20d

View File

@ -64,7 +64,7 @@ BOOL test_peer_context_new(freerdp_peer* client, testPeerContext* context)
goto fail_rfx_context; goto fail_rfx_context;
context->rfx_context->mode = RLGR3; context->rfx_context->mode = RLGR3;
rfx_context_set_pixel_format(context->rfx_context, PIXEL_FORMAT_BGRX32); rfx_context_set_pixel_format(context->rfx_context, PIXEL_FORMAT_RGB24);
if (!(context->nsc_context = nsc_context_new())) if (!(context->nsc_context = nsc_context_new()))
goto fail_nsc_context; goto fail_nsc_context;