From: Brian Paul Date: Fri, 2 Apr 2010 04:32:44 +0000 (-0600) Subject: glsl: fix bad return value in link_transform_feedback() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e1a3923f44bfa550ea152c57c99f9ec558b7571;p=mesa.git glsl: fix bad return value in link_transform_feedback() --- 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 */