Replaced direct settings access with getter/setter

This commit is contained in:
akallabeth
2022-06-22 12:42:48 +02:00
committed by akallabeth
parent 1d2261e884
commit 90ce22283d
14 changed files with 56 additions and 33 deletions

View File

@@ -177,7 +177,7 @@ static BOOL android_desktop_resize(rdpContext* context)
freerdp_callback("OnGraphicsResize", "(JIII)V", (jlong)context->instance,
context->settings->DesktopWidth, context->settings->DesktopHeight,
context->freerdp_settings_get_uint32(settings, FreeRDP_ColorDepth));
freerdp_settings_get_uint32(context->settings, FreeRDP_ColorDepth));
return TRUE;
}