summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/shader_api.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-01-22 10:34:15 -0700
committerBrian Paul <[email protected]>2009-01-22 10:34:15 -0700
commitcb136e0476a3ca4f3cb7730ccdd729ba3773e351 (patch)
tree2bb8b6274e12cee247996549e9a876ea0e73472b /src/mesa/shader/shader_api.c
parent596b8fbbbf65cef227ce60216a57d4bbfd627099 (diff)
glsl: set shader->CompileStatus in _slang_compile()
Diffstat (limited to 'src/mesa/shader/shader_api.c')
-rw-r--r--src/mesa/shader/shader_api.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c
index b3d66c5babd..acee34dc5bc 100644
--- a/src/mesa/shader/shader_api.c
+++ b/src/mesa/shader/shader_api.c
@@ -1357,7 +1357,10 @@ _mesa_compile_shader(GLcontext *ctx, GLuint shaderObj)
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);
}