summaryrefslogtreecommitdiff
path: root/tests/texturing/max-texture-size.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/max-texture-size.c')
-rw-r--r--tests/texturing/max-texture-size.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/texturing/max-texture-size.c b/tests/texturing/max-texture-size.c
index e0e16849f..60ebc159a 100644
--- a/tests/texturing/max-texture-size.c
+++ b/tests/texturing/max-texture-size.c
@@ -265,7 +265,7 @@ test_non_proxy_texture_size(GLenum target, GLenum internalformat)
piglit_get_gl_enum_name(internalformat),
maxSide);
/* Allocate and initialize texture data array */
- pixels = initTexData(target, maxSide);
+ pixels = initTexData(target, maxSide/2);
if (pixels == NULL) {
printf("Error allocating texture data array for target %s, size %d\n",