diff options
author | Eric Anholt <eric@anholt.net> | 2010-01-09 01:05:01 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-01-09 11:39:45 -0800 |
commit | cb24c376d195a88b91dee1c7cfbed48e1b9d5cfd (patch) | |
tree | cc71a33603373b7ab6462c1f1e38d7540a016cae /tests/shaders/glsl-unused-varying.c | |
parent | c7e13d87d73d44bcae4f19d50cbfa3f6c1eb52f9 (diff) |
Handle the glsl shader path prefix in the util rather than each program.
Diffstat (limited to 'tests/shaders/glsl-unused-varying.c')
-rw-r--r-- | tests/shaders/glsl-unused-varying.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/shaders/glsl-unused-varying.c b/tests/shaders/glsl-unused-varying.c index 4082fc932..155cf3f5d 100644 --- a/tests/shaders/glsl-unused-varying.c +++ b/tests/shaders/glsl-unused-varying.c @@ -83,9 +83,9 @@ void piglit_init(int argc, char **argv) piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); vs = piglit_compile_shader(GL_VERTEX_SHADER, - SOURCE_DIR "tests/shaders/glsl-unused-varying.vert"); + "shaders/glsl-unused-varying.vert"); fs = piglit_compile_shader(GL_FRAGMENT_SHADER, - SOURCE_DIR "tests/shaders/glsl-unused-varying.frag"); + "shaders/glsl-unused-varying.frag"); prog = piglit_link_simple_program(vs, fs); |