diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-19 18:14:15 -0600 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-09-21 22:13:57 -0700 |
commit | 6fd15dd80666ccb1e9b99cedd306e32cc7cee989 (patch) | |
tree | 0bf85d86b7151e53ddc921dbc8088eda6a8abe88 /src/mesa/main/context.c | |
parent | 1b7e90984511cfa47597c255d73ca416ddd2db6f (diff) |
mesa: allow for extra per-context init
(cherry picked from commit 815cdcfbc0740c66b901361620c88d99541bdad2)
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index d6205fc453..a41cb42952 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1234,6 +1234,10 @@ _mesa_initialize_context(GLcontext *ctx, ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; } +#ifdef FEATURE_extra_context_init + _mesa_initialize_context_extra(ctx); +#endif + ctx->FirstTimeCurrent = GL_TRUE; return GL_TRUE; |