From 3e1a3923f44bfa550ea152c57c99f9ec558b7571 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 1 Apr 2010 22:32:44 -0600 Subject: [PATCH] glsl: fix bad return value in link_transform_feedback() --- src/mesa/shader/slang/slang_link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.30.2