summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-14 14:32:20 +0000
committerBrian Paul <[email protected]>2005-09-14 14:32:20 +0000
commitb43671c8bf0ff640243c670ff98225d2a3c10632 (patch)
tree2f4ba856bab5e82f33bd14fc99201ef48b692010 /src/mesa/main
parent04adb70f32b25cee6f05ce97d1ddf16482636c27 (diff)
Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/context.c7
-rw-r--r--src/mesa/main/dd.h6
2 files changed, 0 insertions, 13 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index f51adb59dad..d660dfd8fe3 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1598,13 +1598,6 @@ _mesa_make_current( GLcontext *newCtx, GLframebuffer *drawBuffer,
}
}
- /* Alert the driver - usually passed on to the sw t&l module,
- * but also used to detect threaded cases in the radeon codegen
- * hw t&l module.
- */
- if (newCtx->Driver.MakeCurrent)
- newCtx->Driver.MakeCurrent( newCtx, drawBuffer, readBuffer );
-
/* We can use this to help debug user's problems. Tell them to set
* the MESA_INFO env variable before running their app. Then the
* first time each context is made current we'll print some useful
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 55bb66cb018..5f680116e56 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -903,12 +903,6 @@ struct dd_function_table {
void (*LightingSpaceChange)( GLcontext *ctx );
/**
- * Let the T&L component know when the context becomes current.
- */
- void (*MakeCurrent)( GLcontext *ctx, GLframebuffer *drawBuffer,
- GLframebuffer *readBuffer );
-
- /**
* Called by glNewList().
*
* Let the T&L component know what is going on with display lists