From 9ba4ef3102196844d663b82565c87765fa240e16 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 5 Nov 2005 17:18:09 +0000 Subject: s/TexSrcIdx/TexSrcTarget/ --- src/mesa/drivers/dri/i915/i915_fragprog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/i915/i915_fragprog.c b/src/mesa/drivers/dri/i915/i915_fragprog.c index 4602b3260e..20424b1da4 100644 --- a/src/mesa/drivers/dri/i915/i915_fragprog.c +++ b/src/mesa/drivers/dri/i915/i915_fragprog.c @@ -191,7 +191,7 @@ static GLuint get_result_flags( const struct prog_instruction *inst ) return flags; } -static GLuint translate_tex_src_idx( struct i915_fragment_program *p, +static GLuint translate_tex_src_target( struct i915_fragment_program *p, GLubyte bit ) { switch (bit) { @@ -206,7 +206,7 @@ static GLuint translate_tex_src_idx( struct i915_fragment_program *p, #define EMIT_TEX( OP ) \ do { \ - GLuint dim = translate_tex_src_idx( p, inst->TexSrcIdx ); \ + GLuint dim = translate_tex_src_target( p, inst->TexSrcTarget ); \ GLuint sampler = i915_emit_decl(p, REG_TYPE_S, \ inst->TexSrcUnit, dim); \ GLuint coord = src_vector( p, &inst->SrcReg[0], program); \ -- cgit v1.2.3