summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dlist.c
diff options
context:
space:
mode:
authorChris Forbes <chrisf@ijw.co.nz>2013-06-10 09:17:16 +1200
committerVinson Lee <vlee@freedesktop.org>2013-06-09 14:00:40 -0700
commita2e3b1c4e210caf0c765da92a4623de6ee8316b6 (patch)
tree824a0d70093ac45515deefeb34b54ea6618f9595 /src/mesa/main/dlist.c
parentce1f85133d15098ae97a28bbcfa13c4995b772e2 (diff)
downloadexternal_mesa3d-a2e3b1c4e210caf0c765da92a4623de6ee8316b6.zip
external_mesa3d-a2e3b1c4e210caf0c765da92a4623de6ee8316b6.tar.gz
external_mesa3d-a2e3b1c4e210caf0c765da92a4623de6ee8316b6.tar.bz2
dlist: fix save_SamplerParameteri
This was building the temporary array to pass to save_SamplerParameteriv, and then not passing it. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Vinson Lee <vlee@freedesktop.org> Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Diffstat (limited to 'src/mesa/main/dlist.c')
-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 8900c89..af2b468 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