diff options
author | Marek Olšák <[email protected]> | 2015-10-05 22:13:34 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-10-09 22:02:19 +0200 |
commit | d695c676ea61f48f121969462ece708b739a02c0 (patch) | |
tree | e08489b8301d855b261720ae2034b2b137a6c359 /src/mesa/program/program.h | |
parent | 092f0427dcc15e36666f24c817957727632ed377 (diff) |
program: remove _mesa_init_*_program wrappers
They didn't do anything useful.
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program/program.h')
-rw-r--r-- | src/mesa/program/program.h | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/src/mesa/program/program.h b/src/mesa/program/program.h index 6f54fac4f32..51e10a1708b 100644 --- a/src/mesa/program/program.h +++ b/src/mesa/program/program.h @@ -64,34 +64,7 @@ extern void _mesa_set_program_error(struct gl_context *ctx, GLint pos, const char *string); extern struct gl_program * -_mesa_init_vertex_program(struct gl_context *ctx, - struct gl_vertex_program *prog, - GLenum target, GLuint id); - -extern struct gl_program * -_mesa_init_fragment_program(struct gl_context *ctx, - struct gl_fragment_program *prog, - GLenum target, GLuint id); - -extern struct gl_program * -_mesa_init_tess_ctrl_program(struct gl_context *ctx, - struct gl_tess_ctrl_program *prog, - GLenum target, GLuint id); - -extern struct gl_program * -_mesa_init_tess_eval_program(struct gl_context *ctx, - struct gl_tess_eval_program *prog, - GLenum target, GLuint id); - -extern struct gl_program * -_mesa_init_geometry_program(struct gl_context *ctx, - struct gl_geometry_program *prog, - GLenum target, GLuint id); - -extern struct gl_program * -_mesa_init_compute_program(struct gl_context *ctx, - struct gl_compute_program *prog, - GLenum target, GLuint id); +_mesa_init_gl_program(void *prog, GLenum target, GLuint id); extern struct gl_program * _mesa_new_program(struct gl_context *ctx, GLenum target, GLuint id); |