aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-09-05 08:12:18 -0700
committerIan Romanick <[email protected]>2012-09-28 08:19:53 -0700
commit3ef9e43865f38e9c8c5681768645513ce26e0488 (patch)
tree6cfd96e8b78abab6233b92a90bf22fd5df2501ea /src/mesa/main/context.c
parentee77061277b640d78befb43c26a3ffbe227e9244 (diff)
mesa: Pass GL context to _mesa_create_save_table
This isn't used by this patch, but it will be necessary for several follow-on patches. Separating this out will make it easier to reorder patches later. NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index abce52e5848..c6880a4b9e4 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -995,7 +995,7 @@ _mesa_initialize_context(struct gl_context *ctx,
switch (ctx->API) {
case API_OPENGL:
- ctx->Save = _mesa_create_save_table();
+ ctx->Save = _mesa_create_save_table(ctx);
if (!ctx->Save) {
_mesa_reference_shared_state(ctx, &ctx->Shared, NULL);
free(ctx->Exec);