]> Joshua Wise's Git repositories - netwatch.git/commitdiff
use x
authorJacob Potter <jdpotter@andrew.cmu.edu>
Sun, 14 Dec 2008 08:05:52 +0000 (03:05 -0500)
committerJacob Potter <jdpotter@andrew.cmu.edu>
Sun, 14 Dec 2008 08:05:52 +0000 (03:05 -0500)
video/generic.c

index d8b320bfe9af4231061e755c29efe60efa066ba1..319b5ad8054ea187017b0f609ced76a30f0de94b 100644 (file)
@@ -15,7 +15,7 @@ uint32_t checksum_rect_generic32(int x, int y, int width, int height) {
         uint32_t sum = 0;
 
         for (i = 0; i < height; i++) {
-                lineaddr = fb->fbaddr + (i + y) * scanline;
+                lineaddr = fb->fbaddr + (i + y) * scanline + (4 * x);
 
                 sum ^= crc32(lineaddr, width * 4);
         }
This page took 0.02343 seconds and 4 git commands to generate.