New st_init_*_functions() to initialize the driver functions table.

We need to do these initializations before initializing the Mesa context
because context init involves creating texture/program/etc objects.
This commit is contained in:
Brian
2007-08-06 20:53:28 +01:00
parent 8ebf91d15e
commit 6da9234fd4
14 changed files with 60 additions and 87 deletions

View File

@@ -87,8 +87,9 @@ struct st_vertex_program
GLuint param_state;
};
void st_init_cb_program( struct st_context *st );
void st_destroy_cb_program( struct st_context *st );
extern void st_init_program_functions(struct dd_function_table *functions);
static inline struct st_fragment_program *
st_fragment_program( struct gl_fragment_program *fp )