From: Matt Turner Date: Wed, 2 Mar 2016 19:00:01 +0000 (-0800) Subject: program: Drop GL_FRAGMENT_PROGRAM_NV from switch statement. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de2ef0401b197f176998e10848dc0822b8a047d7;p=mesa.git program: Drop GL_FRAGMENT_PROGRAM_NV from switch statement. --- diff --git a/src/mesa/program/program.c b/src/mesa/program/program.c index 27867c48d52..67672164f59 100644 --- a/src/mesa/program/program.c +++ b/src/mesa/program/program.c @@ -219,7 +219,6 @@ _mesa_new_program(struct gl_context *ctx, GLenum target, GLuint id) struct gl_vertex_program *prog = CALLOC_STRUCT(gl_vertex_program); return _mesa_init_gl_program(&prog->Base, target, id); } - case GL_FRAGMENT_PROGRAM_NV: case GL_FRAGMENT_PROGRAM_ARB: { struct gl_fragment_program *prog = CALLOC_STRUCT(gl_fragment_program); return _mesa_init_gl_program(&prog->Base, target, id);