commit | cb136e0476a3ca4f3cb7730ccdd729ba3773e351 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Thu Jan 22 10:34:15 2009 -0700 |
committer | Brian Paul <brianp@vmware.com> | Thu Jan 22 10:34:15 2009 -0700 |
tree | 2bb8b6274e12cee247996549e9a876ea0e73472b | |
parent | 596b8fbbbf65cef227ce60216a57d4bbfd627099 [diff] [blame] |
glsl: set shader->CompileStatus in _slang_compile()
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c index b3d66c5..acee34d 100644 --- a/src/mesa/shader/shader_api.c +++ b/src/mesa/shader/shader_api.c
@@ -1357,7 +1357,10 @@ if (!sh) return; - sh->CompileStatus = _slang_compile(ctx, sh); + /* this call will set the sh->CompileStatus field to indicate if + * compilation was successful. + */ + (void) _slang_compile(ctx, sh); }