From fdbf86c5e0f609e24949ba5df5bb4361bbf48cf6 Mon Sep 17 00:00:00 2001 From: Nexarian Date: Wed, 23 Nov 2022 21:13:48 -0500 Subject: [PATCH] More build break fixes. --- module/rdpCapture.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/module/rdpCapture.c b/module/rdpCapture.c index 5fa8be12..6981fcab 100644 --- a/module/rdpCapture.c +++ b/module/rdpCapture.c @@ -1158,9 +1158,7 @@ rdpCapture2(rdpClientCon *clientCon, RegionPtr in_reg, BoxPtr *out_rects, int num_crcs; int num_skips; int tile_row_stride, crc_height; - int num_diff_first_rows; uint64_t *row_hashes; - uint64_t old_first_row, new_first_row; LLOGLN(10, ("rdpCapture2:")); @@ -1209,7 +1207,6 @@ rdpCapture2(rdpClientCon *clientCon, RegionPtr in_reg, BoxPtr *out_rects, /* update the tile row hashes. Column major order to be kind to prefetchers even though it shouldn't matter much */ - num_diff_first_rows = 0; x = extents_rect.x1 & ~63; while (x < extents_rect.x2) { @@ -1225,10 +1222,7 @@ rdpCapture2(rdpClientCon *clientCon, RegionPtr in_reg, BoxPtr *out_rects, { row_hashes = clientCon->rfx_tile_row_hashes + (x / 64) * tile_row_stride + y; - old_first_row = row_hashes[0]; wyhash_rfx_tile_rows(src, src_stride, x, y, row_hashes, 64); - new_first_row = row_hashes[0]; - num_diff_first_rows += (old_first_row != new_first_row); } y += 64; } @@ -1281,7 +1275,8 @@ rdpCapture2(rdpClientCon *clientCon, RegionPtr in_reg, BoxPtr *out_rects, crc_offset = (y / 64) * crc_stride + (x / 64); if (crc == clientCon->rfx_crcs[crc_offset]) { - LLOGLN(10, ("rdpCapture2: crc skip at x %d y %d", x, y)); + LLOGLN(10, ("rdpCapture2: crc skip at x: %d, y: %d, " + "skip count: %d", x, y, num_skips)); num_skips += 1; } else