diff options
author | Brian Paul <[email protected]> | 2010-04-01 22:32:44 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-01 22:32:46 -0600 |
commit | 3e1a3923f44bfa550ea152c57c99f9ec558b7571 (patch) | |
tree | 87bb2d2f2980457803754432dc1a1b8d5bd1ad54 /src | |
parent | e47d7e87905486a06ca5183c58f4af45ca69470e (diff) |
glsl: fix bad return value in link_transform_feedback()
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index c47dd399d2c..f71fde1d727 100644 --- a/src/mesa/shader/slang/slang_link.c +++ b/src/mesa/shader/slang/slang_link.c @@ -121,7 +121,7 @@ link_transform_feedback(GLcontext *ctx, struct gl_shader_program *shProg) if (shProg->TransformFeedback.NumVarying == 0) { /* nothing to do */ - return GL_FALSE; + return GL_TRUE; } /* Check that there's a vertex shader */ |