summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/spec/glsl-1.50/execution/geometry/geometry-end-primitive-optional-with-points-out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/glsl-1.50/execution/geometry/geometry-end-primitive-optional-with-points-out.c b/tests/spec/glsl-1.50/execution/geometry/geometry-end-primitive-optional-with-points-out.c
index 5b8d2d530..a8813302d 100644
--- a/tests/spec/glsl-1.50/execution/geometry/geometry-end-primitive-optional-with-points-out.c
+++ b/tests/spec/glsl-1.50/execution/geometry/geometry-end-primitive-optional-with-points-out.c
@@ -139,7 +139,7 @@ probe_pixel_rgb_neighborhood(int x, int y, const float expected[3])
glReadPixels(x - 2, y - 2, 5, 5, GL_RGBA, GL_FLOAT, pixels);
for (j = 0; j < 5; j++) {
- for (i = 0; i <= 5; i++) {
+ for (i = 0; i < 5; i++) {
float *p = pixels[j][i];
for (k = 0; k < 3; k++) {