[channels,rdpgfx] fixed logger setup

This commit is contained in:
akallabeth 2022-12-16 15:22:14 +01:00 committed by David Fort
parent 06c070fc4d
commit 29c92af194
2 changed files with 2 additions and 0 deletions

View File

@ -2325,6 +2325,7 @@ static UINT init_plugin_cb(GENERIC_DYNVC_PLUGIN* base, rdpContext* rcontext, rdp
WINPR_ASSERT(base);
gfx->rdpcontext = rcontext;
gfx->log = WLog_Get(TAG);
gfx->SurfaceTable = HashTable_New(TRUE);
if (!gfx->SurfaceTable)

View File

@ -25,6 +25,7 @@
#include <winpr/crt.h>
#include <winpr/stream.h>
#include <freerdp/config.h>
#include <freerdp/channels/rdpgfx.h>
#include <freerdp/api.h>
#include <freerdp/utils/gfx.h>