summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/program_binary.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-25 12:50:12 -0700
committerBrian Paul <[email protected]>2018-01-26 13:52:48 -0700
commitbacf72a18dc07ee2a9fb23e8f17aeb04ec31ea50 (patch)
tree43a24017244f7ddc5aa9d775f6211be1cd8893ee /src/mesa/main/program_binary.c
parentaff5d9c256d471de1722dbfcacdc09faa260799b (diff)
mesa: change gl_link_status enums to uppercase
follow the convention of other enums. Reviewed-by: Neha Bhende <[email protected]>
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;
}