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); } }