diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-11-01 08:00:45 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-11-01 09:00:26 -0600 |
commit | 351a83163a9536dc91014cc59bb406a10cd26df4 (patch) | |
tree | d6a95cfd9907ed2e367e24e85072c73a915d5dd2 /src/mesa/shader | |
parent | 01b18abf93c1999397563e75fe1bfbbe0e080ae9 (diff) |
remove dead code in _mesa_new_program()
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/program.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index 43e6fb0be0..2097c39591 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c @@ -285,13 +285,6 @@ _mesa_init_vertex_program( GLcontext *ctx, struct gl_vertex_program *prog, struct gl_program * _mesa_new_program(GLcontext *ctx, GLenum target, GLuint id) { -#if 0 - /* This was added by Nan hai Zou but disabled by BrianP since it - * causes infinite recursive calls. - */ - if (ctx->Driver.NewProgram) - return ctx->Driver.NewProgram(ctx, target, id); -#endif switch (target) { case GL_VERTEX_PROGRAM_ARB: /* == GL_VERTEX_PROGRAM_NV */ return _mesa_init_vertex_program(ctx, CALLOC_STRUCT(gl_vertex_program), |