mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
don't need to use LOD version of texture2D() funcs
This commit is contained in:
parent
2e79b491fc
commit
37f452096b
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue