summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/program_resource.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_resource.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_resource.c')
-rw-r--r--src/mesa/main/program_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/program_resource.c b/src/mesa/main/program_resource.c
index 5fa5d7573bf..41024d68cec 100644
--- a/src/mesa/main/program_resource.c
+++ b/src/mesa/main/program_resource.c
@@ -76,7 +76,7 @@ lookup_linked_program(GLuint program, const char *caller)
if (!prog)
return NULL;
- if (prog->data->LinkStatus == linking_failure) {
+ if (prog->data->LinkStatus == LINKING_FAILURE) {
_mesa_error(ctx, GL_INVALID_OPERATION, "%s(program not linked)",
caller);
return NULL;