glsl: fix bad return value in link_transform_feedback()
This commit is contained in:
parent
e47d7e8790
commit
3e1a3923f4
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue