From: Brian Paul Date: Fri, 15 Aug 2008 17:49:05 +0000 (-0600) Subject: don't need to use LOD version of texture2D() funcs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37f452096b0c399a6614885057023f8fe8d0bc55;p=mesa.git don't need to use LOD version of texture2D() funcs --- diff --git a/progs/glsl/multitex.frag.txt b/progs/glsl/multitex.frag.txt index 86045306af2..a2633ceba75 100644 --- a/progs/glsl/multitex.frag.txt +++ b/progs/glsl/multitex.frag.txt @@ -9,7 +9,7 @@ uniform sampler2D tex2; void main() { - vec4 t1 = texture2D(tex1, gl_TexCoord[0].xy, 0.0); - vec4 t2 = texture2D(tex2, gl_TexCoord[1].xy, 0.0); + vec4 t1 = texture2D(tex1, gl_TexCoord[0].xy); + vec4 t2 = texture2D(tex2, gl_TexCoord[1].xy); gl_FragColor = mix(t1, t2, t2.w); }