summaryrefslogtreecommitdiffstats
path: root/opengl/tests
diff options
context:
space:
mode:
authorLouis Huemiller <lhuemill@google.com>2011-01-09 19:02:05 -0800
committerLouis Huemiller <lhuemill@google.com>2011-01-09 19:02:05 -0800
commit9a8244b8f8d7f1acf9e475123959301666e03406 (patch)
tree48b4f370e91e7f7626dd341dd75ab07c6fb0039b /opengl/tests
parenteb328d5989c0859cf9fc88611e0c54ecf3bc5afd (diff)
downloadframeworks_native-9a8244b8f8d7f1acf9e475123959301666e03406.zip
frameworks_native-9a8244b8f8d7f1acf9e475123959301666e03406.tar.gz
frameworks_native-9a8244b8f8d7f1acf9e475123959301666e03406.tar.bz2
Hardware Composer Test Lib HBlen off by 1
Change-Id: If51727a041e20afa307e5d1735b77da5a54a712b
Diffstat (limited to 'opengl/tests')
-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 b790c51..a468a92 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);
}
}