glsl: fix bad return value in link_transform_feedback()
authorBrian Paul <brianp@vmware.com>
Fri, 2 Apr 2010 04:32:44 +0000 (22:32 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 2 Apr 2010 04:32:46 +0000 (22:32 -0600)
src/mesa/shader/slang/slang_link.c

index c47dd399d2c959596c4e5e33f5491da375273714..f71fde1d7271741081bd367f27e0caf0c55513b8 100644 (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 */