summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp
index 86426e0cfea..77e93920713 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.cpp
+++ b/src/mesa/drivers/dri/i965/brw_shader.cpp
@@ -98,7 +98,7 @@ brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg)
struct gl_program *prog =
ctx->Driver.NewProgram(ctx, targets[stage], shader->base.Name);
if (!prog)
- return NULL;
+ return false;
prog->Parameters = _mesa_new_parameter_list();
_mesa_generate_parameters_list_for_uniforms(shProg, &shader->base,