aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/program/arbprogparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/program/arbprogparse.c')
-rw-r--r--mesalib/src/mesa/program/arbprogparse.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mesalib/src/mesa/program/arbprogparse.c b/mesalib/src/mesa/program/arbprogparse.c
index 7dec399a5..53a6f37cb 100644
--- a/mesalib/src/mesa/program/arbprogparse.c
+++ b/mesalib/src/mesa/program/arbprogparse.c
@@ -85,9 +85,6 @@ _mesa_parse_arb_fragment_program(struct gl_context* ctx, GLenum target,
return;
}
- if ((ctx->_Shader->Flags & GLSL_NO_OPT) == 0)
- _mesa_optimize_program(ctx, &prog);
-
free(program->Base.String);
/* Copy the relevant contents of the arb_program struct into the