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>
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