summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/program_binary.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/program_binary.c')
-rw-r--r--src/mesa/main/program_binary.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/program_binary.c b/src/mesa/main/program_binary.c
index 2786487362f..3df70059342 100644
--- a/src/mesa/main/program_binary.c
+++ b/src/mesa/main/program_binary.c
@@ -275,7 +275,7 @@ _mesa_program_binary(struct gl_context *ctx, struct gl_shader_program *sh_prog,
binary, length);
if (payload == NULL) {
- sh_prog->data->LinkStatus = linking_failure;
+ sh_prog->data->LinkStatus = LINKING_FAILURE;
return;
}
@@ -283,9 +283,9 @@ _mesa_program_binary(struct gl_context *ctx, struct gl_shader_program *sh_prog,
blob_reader_init(&blob, payload, length - header_size);
if (!read_program_payload(ctx, &blob, binary_format, sh_prog)) {
- sh_prog->data->LinkStatus = linking_failure;
+ sh_prog->data->LinkStatus = LINKING_FAILURE;
return;
}
- sh_prog->data->LinkStatus = linking_success;
+ sh_prog->data->LinkStatus = LINKING_SUCCESS;
}