st_reference_vertprog(st, &st->vp, NULL);
st_reference_prog(st, &st->tcp, NULL);
st_reference_prog(st, &st->tep, NULL);
- st_reference_compprog(st, &st->cp, NULL);
+ st_reference_prog(st, &st->cp, NULL);
/* release framebuffer in the winsys buffers list */
LIST_FOR_EACH_ENTRY_SAFE_REV(stfb, next, &st->winsys_buffers, head) {
(struct gl_program *) prog);
}
-static inline void
-st_reference_compprog(struct st_context *st,
- struct st_common_program **ptr,
- struct st_common_program *prog)
-{
- _mesa_reference_program(st->ctx,
- (struct gl_program **) ptr,
- (struct gl_program *) prog);
-}
-
/**
* This defines mapping from Mesa VARYING_SLOTs to TGSI GENERIC slots.
*/