fix ROP mapping

This commit is contained in:
Matt Hortman 2012-03-01 15:31:06 -05:00
parent e041afc835
commit 0e2db03ade

View File

@ -49,13 +49,13 @@ guac_transfer_function guac_rdp_rop3_transfer_function(guac_client* client,
switch (rop3) { switch (rop3) {
/* "SRCINVERT" (src ^ dest) */ /* "SRCINVERT" (src ^ dest) */
case 0x66: return GUAC_TRANSFER_BINARY_SRC; case 0x66: return GUAC_TRANSFER_BINARY_XOR;
/* "SRCAND" (src & dest) */ /* "SRCAND" (src & dest) */
case 0x88: return GUAC_TRANSFER_BINARY_AND; case 0x88: return GUAC_TRANSFER_BINARY_AND;
/* "MERGEPAINT" !(src | dest)*/ /* "MERGEPAINT" (!src | dest)*/
case 0xBB: return GUAC_TRANSFER_BINARY_NOR; case 0xBB: return GUAC_TRANSFER_BINARY_NSRC_OR;
/* "SRCCOPY" (src) */ /* "SRCCOPY" (src) */
case 0xCC: return GUAC_TRANSFER_BINARY_SRC; case 0xCC: return GUAC_TRANSFER_BINARY_SRC;