From 081ce9fec3ffffc882941248b5b9592a0311f88a Mon Sep 17 00:00:00 2001 From: Louis Huemiller Date: Sun, 9 Jan 2011 19:02:05 -0800 Subject: [PATCH] Hardware Composer Test Lib HBlen off by 1 Change-Id: If51727a041e20afa307e5d1735b77da5a54a712b --- opengl/tests/hwc/hwcTestLib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opengl/tests/hwc/hwcTestLib.cpp b/opengl/tests/hwc/hwcTestLib.cpp index b790c513d0c8c..a468a9219a06b 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); } }