change to build with latest FreeRDP

This commit is contained in:
Matt Hortman 2012-02-23 14:37:23 -05:00
parent a647eca634
commit bf2fd7a996
2 changed files with 3 additions and 3 deletions

2
protocols/rdp/src/rdp_gdi.c Normal file → Executable file
View File

@ -85,7 +85,7 @@ void guac_rdp_gdi_memblt(rdpContext* context, MEMBLT_ORDER* memblt) {
void guac_rdp_gdi_opaquerect(rdpContext* context, OPAQUE_RECT_ORDER* opaque_rect) { void guac_rdp_gdi_opaquerect(rdpContext* context, OPAQUE_RECT_ORDER* opaque_rect) {
guac_client* client = ((rdp_freerdp_context*) context)->client; 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, context->instance->settings->color_depth, 32,
((rdp_freerdp_context*) context)->clrconv); ((rdp_freerdp_context*) context)->clrconv);

4
protocols/rdp/src/rdp_glyph.c Normal file → Executable file
View File

@ -142,11 +142,11 @@ void guac_rdp_glyph_begindraw(rdpContext* context,
guac_client* client = ((rdp_freerdp_context*) context)->client; guac_client* client = ((rdp_freerdp_context*) context)->client;
rdp_guac_client_data* guac_client_data = (rdp_guac_client_data*) client->data; 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, context->instance->settings->color_depth, 32,
((rdp_freerdp_context*) context)->clrconv); ((rdp_freerdp_context*) context)->clrconv);
fgcolor = freerdp_color_convert(fgcolor, fgcolor = freerdp_color_convert_var(fgcolor,
context->instance->settings->color_depth, 32, context->instance->settings->color_depth, 32,
((rdp_freerdp_context*) context)->clrconv); ((rdp_freerdp_context*) context)->clrconv);