program: Drop GL_FRAGMENT_PROGRAM_NV from switch statement.
authorMatt Turner <mattst88@gmail.com>
Wed, 2 Mar 2016 19:00:01 +0000 (11:00 -0800)
committerMatt Turner <mattst88@gmail.com>
Wed, 2 Mar 2016 20:15:58 +0000 (12:15 -0800)
src/mesa/program/program.c

index 27867c48d52319d68c340103ede13ef4da72a3d4..67672164f594fbea18ef105b2624d013262a4a19 100644 (file)
@@ -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);