Mesa (master): dlist: fix save_SamplerParameteri
Vinson Lee
vlee at kemper.freedesktop.org
Sun Jun 9 21:02:39 UTC 2013
Module: Mesa
Branch: master
Commit: a2e3b1c4e210caf0c765da92a4623de6ee8316b6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2e3b1c4e210caf0c765da92a4623de6ee8316b6
Author: Chris Forbes <chrisf at ijw.co.nz>
Date: Mon Jun 10 09:17:16 2013 +1200
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 at ijw.co.nz>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Vinson Lee <vlee at freedesktop.org>
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
src/mesa/main/dlist.c | 2 +-
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
More information about the mesa-commit
mailing list