glsl: fix bad return value in link_transform_feedback()

This commit is contained in:
Brian Paul 2010-04-01 22:32:44 -06:00
parent e47d7e8790
commit 3e1a3923f4
1 changed files with 1 additions and 1 deletions

View File

@ -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 */