summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/dlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 8900c89ea2d..af2b468c5ab 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -7027,7 +7027,7 @@ save_SamplerParameteri(GLuint sampler, GLenum pname, GLint param)
GLint parray[4];
parray[0] = param;
parray[1] = parray[2] = parray[3] = 0;
- save_SamplerParameteriv(sampler, pname, param);
+ save_SamplerParameteriv(sampler, pname, parray);
}
static void GLAPIENTRY