From a2e3b1c4e210caf0c765da92a4623de6ee8316b6 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 10 Jun 2013 09:17:16 +1200 Subject: [PATCH] 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 Reviewed-by: Brian Paul Reviewed-by: Vinson Lee Signed-off-by: Vinson Lee --- src/mesa/main/dlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2