i965: perf: cleanup detection of kernel support for loadable configs
[mesa.git] / src / mesa / drivers / dri / i965 / brw_vs.c
index 985d0bf04f05fe3964ec2bebea8c072b8aa2be15..22c7493e2318a5394b39a65c6991fd0c0f8f9c5f 100644 (file)
@@ -224,7 +224,7 @@ brw_codegen_vs_prog(struct brw_context *brw,
                             st_index, &error_str);
    if (program == NULL) {
       if (!vp->program.is_arb_asm) {
-         vp->program.sh.data->LinkStatus = linking_failure;
+         vp->program.sh.data->LinkStatus = LINKING_FAILURE;
          ralloc_strcat(&vp->program.sh.data->InfoLog, error_str);
       }