]> Joshua Wise's Git repositories - netwatch.git/blobdiff - video/generic.c
make rfb_buf actually big enough to take an entire frame
[netwatch.git] / video / generic.c
index 8c6866d4bcad7ea9a65d1b4c8e13d95057ab5df4..95f564f470b3d9893dcefd27f1c2cf0c75c18eb0 100644 (file)
@@ -17,7 +17,7 @@ uint32_t checksum_rect_generic32(int x, int y, int width, int height) {
         for (i = 0; i < height; i++) {
                 lineaddr = fb->fbaddr + (i + y) * scanline + (4 * x);
 
-                sum ^= crc32(lineaddr, width * 4);
+                sum = crc32(lineaddr, width * 4, sum);
         }
 
         return sum;
This page took 0.025587 seconds and 4 git commands to generate.