diff options
author | marha <marha@users.sourceforge.net> | 2010-07-28 18:15:53 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-07-28 18:15:53 +0000 |
commit | 022d9c6cf6a67385d84ff33ce095f5c7f9f6d0cc (patch) | |
tree | 1c6bef40b9b16775f2d9b39f88d6224e0bea69ff /mesalib/src/mesa/shader/slang/slang_link.c | |
parent | 51e3b8e993cc874f4ac4ba4162c7aea00fe1a8eb (diff) | |
download | vcxsrv-022d9c6cf6a67385d84ff33ce095f5c7f9f6d0cc.tar.gz vcxsrv-022d9c6cf6a67385d84ff33ce095f5c7f9f6d0cc.tar.bz2 vcxsrv-022d9c6cf6a67385d84ff33ce095f5c7f9f6d0cc.zip |
Update to mesa 7,8,2
Diffstat (limited to 'mesalib/src/mesa/shader/slang/slang_link.c')
-rw-r--r-- | mesalib/src/mesa/shader/slang/slang_link.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mesalib/src/mesa/shader/slang/slang_link.c b/mesalib/src/mesa/shader/slang/slang_link.c index 7c7bfbdbc..e8dca0142 100644 --- a/mesalib/src/mesa/shader/slang/slang_link.c +++ b/mesalib/src/mesa/shader/slang/slang_link.c @@ -921,7 +921,10 @@ _slang_link(GLcontext *ctx, if (!vertNotify || !fragNotify) { /* driver rejected one/both of the vertex/fragment programs */ - link_error(shProg, "Vertex and/or fragment program rejected by driver\n"); + if (!shProg->InfoLog) { + link_error(shProg, + "Vertex and/or fragment program rejected by driver\n"); + } } else { shProg->LinkStatus = (shProg->VertexProgram || shProg->FragmentProgram); |