summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Louis Huemiller <lhuemill@google.com> 2011-01-09 19:02:05 -0800
committer Louis Huemiller <lhuemill@google.com> 2011-01-09 19:02:05 -0800
commit081ce9fec3ffffc882941248b5b9592a0311f88a (patch)
tree1d05b3704ece45c6baa3c4a9f46fb0eb11cc3a58
parentedca0e4d134610fe81f731d22f6bf1cfae767ee4 (diff)
Hardware Composer Test Lib HBlen off by 1
Change-Id: If51727a041e20afa307e5d1735b77da5a54a712b
-rw-r--r--opengl/tests/hwc/hwcTestLib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/tests/hwc/hwcTestLib.cpp b/opengl/tests/hwc/hwcTestLib.cpp
index b790c513d0c8..a468a9219a06 100644
--- a/opengl/tests/hwc/hwcTestLib.cpp
+++ b/opengl/tests/hwc/hwcTestLib.cpp
@@ -719,7 +719,7 @@ void hwcTestFillColorHBlend(GraphicBuffer *gBuf, uint32_t colorFormat,
pixel = testRand();
}
- for (unsigned int y = 0; y <= height; y++) {
+ for (unsigned int y = 0; y < height; y++) {
hwcTestSetPixel(gBuf, buf, x, y, pixel);
}
}