diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-06 20:53:28 +0100 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-06 20:53:28 +0100 |
commit | 6da9234fd437f97267e7831f034c78b31156d939 (patch) | |
tree | a272c747c910a58cb2a74ca7fbdae059af2437d1 /src/mesa/state_tracker/st_cb_clear.c | |
parent | 8ebf91d15eeb6f19d19580f6319477aaad4df3fd (diff) |
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.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_clear.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_clear.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_clear.c index c907b0ed22..0ec7784d84 100644 --- a/src/mesa/state_tracker/st_cb_clear.c +++ b/src/mesa/state_tracker/st_cb_clear.c @@ -418,15 +418,7 @@ static void st_clear(GLcontext *ctx, GLbitfield mask) } -void st_init_cb_clear( struct st_context *st ) +void st_init_clear_functions(struct dd_function_table *functions) { - struct dd_function_table *functions = &st->ctx->Driver; - functions->Clear = st_clear; } - - -void st_destroy_cb_clear( struct st_context *st ) -{ -} - |