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_context.h | |
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_context.h')
-rw-r--r-- | src/mesa/state_tracker/st_context.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h index ef3cdb3b09..fe73630c75 100644 --- a/src/mesa/state_tracker/st_context.h +++ b/src/mesa/state_tracker/st_context.h @@ -97,10 +97,6 @@ struct st_context struct st_state_flags dirty; - /* Counter to track program string changes: - */ - GLuint program_id; - GLfloat polygon_offset_scale; /* ?? */ }; @@ -113,4 +109,7 @@ static INLINE struct st_context *st_context(GLcontext *ctx) } +extern void st_init_driver_functions(struct dd_function_table *functions); + + #endif |