projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e47d7e8
)
glsl: fix bad return value in link_transform_feedback()
author
Brian Paul
<brianp@vmware.com>
Fri, 2 Apr 2010 04:32:44 +0000
(22:32 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 2 Apr 2010 04:32:46 +0000
(22:32 -0600)
src/mesa/shader/slang/slang_link.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_link.c
b/src/mesa/shader/slang/slang_link.c
index c47dd399d2c959596c4e5e33f5491da375273714..f71fde1d7271741081bd367f27e0caf0c55513b8 100644
(file)
--- 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_
FALS
E;
+ return GL_
TRU
E;
}
/* Check that there's a vertex shader */