diff options
Diffstat (limited to 'src/mesa/program/program.h')
-rw-r--r-- | src/mesa/program/program.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/mesa/program/program.h b/src/mesa/program/program.h index 41806c218e4..a909dcc28d1 100644 --- a/src/mesa/program/program.h +++ b/src/mesa/program/program.h @@ -108,15 +108,6 @@ _mesa_reference_fragprog(struct gl_context *ctx, } static inline void -_mesa_reference_geomprog(struct gl_context *ctx, - struct gl_geometry_program **ptr, - struct gl_geometry_program *prog) -{ - _mesa_reference_program(ctx, (struct gl_program **) ptr, - (struct gl_program *) prog); -} - -static inline void _mesa_reference_compprog(struct gl_context *ctx, struct gl_compute_program **ptr, struct gl_compute_program *prog) @@ -222,20 +213,6 @@ gl_vertex_program_const(const struct gl_program *prog) return (const struct gl_vertex_program *) prog; } - -static inline struct gl_geometry_program * -gl_geometry_program(struct gl_program *prog) -{ - return (struct gl_geometry_program *) prog; -} - -static inline const struct gl_geometry_program * -gl_geometry_program_const(const struct gl_program *prog) -{ - return (const struct gl_geometry_program *) prog; -} - - static inline struct gl_compute_program * gl_compute_program(struct gl_program *prog) { |