freerdp_color_convert is now freerdp_color_convert_var as of FreeRDP 1.0.1 release.
This commit is contained in:
parent
4f90feb8cf
commit
0f593bb47f
@ -109,7 +109,7 @@ void guac_rdp_gdi_memblt(rdpContext* context, MEMBLT_ORDER* memblt) {
|
||||
void guac_rdp_gdi_opaquerect(rdpContext* context, OPAQUE_RECT_ORDER* opaque_rect) {
|
||||
|
||||
guac_client* client = ((rdp_freerdp_context*) context)->client;
|
||||
uint32 color = freerdp_color_convert(opaque_rect->color,
|
||||
uint32 color = freerdp_color_convert_var(opaque_rect->color,
|
||||
context->instance->settings->color_depth, 32,
|
||||
((rdp_freerdp_context*) context)->clrconv);
|
||||
|
||||
|
@ -142,11 +142,11 @@ void guac_rdp_glyph_begindraw(rdpContext* context,
|
||||
guac_client* client = ((rdp_freerdp_context*) context)->client;
|
||||
rdp_guac_client_data* guac_client_data = (rdp_guac_client_data*) client->data;
|
||||
|
||||
bgcolor = freerdp_color_convert(bgcolor,
|
||||
bgcolor = freerdp_color_convert_var(bgcolor,
|
||||
context->instance->settings->color_depth, 32,
|
||||
((rdp_freerdp_context*) context)->clrconv);
|
||||
|
||||
fgcolor = freerdp_color_convert(fgcolor,
|
||||
fgcolor = freerdp_color_convert_var(fgcolor,
|
||||
context->instance->settings->color_depth, 32,
|
||||
((rdp_freerdp_context*) context)->clrconv);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user