diff options
author | Luca Barbieri <luca@luca-barbieri.com> | 2010-08-26 19:00:00 +0200 |
---|---|---|
committer | Luca Barbieri <luca@luca-barbieri.com> | 2010-09-05 18:01:35 +0200 |
commit | e7a566af0cfd7d6c3088b6d1b3630686958bbfd2 (patch) | |
tree | d1e52afc813f9aeac7dee9c0c37b702a5cee91c1 | |
parent | 5e3c31316d68cb86e81795428baa95956e24ddd5 (diff) |
mesa: clamp texels in the texenv program as required by ARB_texture_float
Changed in a later patch when ARB_color_buffer_float support is added.
-rw-r--r-- | src/mesa/main/texenvprogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 20f02cefe9..640d55da40 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -824,7 +824,7 @@ static struct ureg emit_texld( struct texenv_fragment_program *p, { struct prog_instruction *inst = emit_op( p, op, dest, destmask, - GL_FALSE, /* don't saturate? */ + GL_TRUE, /* ARB_texture_float requires saturation here */ coord, /* arg 0? */ undef, undef); |