diff options
author | Brian Paul <[email protected]> | 2008-08-19 18:14:15 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-08-19 18:14:15 -0600 |
commit | 815cdcfbc0740c66b901361620c88d99541bdad2 (patch) | |
tree | b9b8e5df1031f4ce219064f5c35555bcd60dfb81 /src/mesa/main/context.c | |
parent | 7f9959ae8394f8e52a180f5e261b0f9470f6c5bc (diff) |
mesa: allow for extra per-context init
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 32460e92c3c..ed3faecf0db 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1214,6 +1214,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; |