gallium: Fix compilation of trivial quad-tex
authorJakob Bornecrantz <wallbraker@gmail.com>
Sun, 4 Jul 2010 00:34:39 +0000 (01:34 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Sun, 4 Jul 2010 12:09:13 +0000 (13:09 +0100)
src/gallium/tests/trivial/quad-tex.c

index 93f24876cbb9099bb06ebee16ded82bd932c9f47..abcd477f81eec3a61f5c17b0f84fee8daecab75e 100644 (file)
@@ -271,7 +271,7 @@ static void init_prog(struct program *p)
        }
 
        /* fragment shader */
-       p->fs = util_make_fragment_tex_shader(p->pipe, TGSI_TEXTURE_2D);
+       p->fs = util_make_fragment_tex_shader(p->pipe, TGSI_TEXTURE_2D, TGSI_INTERPOLATE_LINEAR);
 }
 
 static void close_prog(struct program *p)