summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_context.c
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/tnl/t_context.c
parent04adb70f32b25cee6f05ce97d1ddf16482636c27 (diff)
Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback.
Diffstat (limited to 'src/mesa/tnl/t_context.c')
-rw-r--r--src/mesa/tnl/t_context.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c
index dab0eb61b0f..472b97bfe57 100644
--- a/src/mesa/tnl/t_context.c
+++ b/src/mesa/tnl/t_context.c
@@ -1,6 +1,6 @@
/*
* Mesa 3-D graphics library
- * Version: 6.3
+ * Version: 6.5
*
* Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
*
@@ -47,15 +47,6 @@
-void
-_tnl_MakeCurrent( GLcontext *ctx,
- GLframebuffer *drawBuffer,
- GLframebuffer *readBuffer )
-{
- (void) ctx; (void) drawBuffer; (void) readBuffer;
-}
-
-
static void
install_driver_callbacks( GLcontext *ctx )
{
@@ -63,7 +54,6 @@ install_driver_callbacks( GLcontext *ctx )
ctx->Driver.EndList = _tnl_EndList;
ctx->Driver.FlushVertices = _tnl_FlushVertices;
ctx->Driver.SaveFlushVertices = _tnl_SaveFlushVertices;
- ctx->Driver.MakeCurrent = _tnl_MakeCurrent;
ctx->Driver.BeginCallList = _tnl_BeginCallList;
ctx->Driver.EndCallList = _tnl_EndCallList;
}
@@ -212,10 +202,6 @@ _tnl_wakeup_exec( GLcontext *ctx )
*/
_mesa_install_exec_vtxfmt( ctx, &tnl->exec_vtxfmt );
- /* Call all appropriate driver callbacks to revive state.
- */
- _tnl_MakeCurrent( ctx, ctx->DrawBuffer, ctx->ReadBuffer );
-
/* Assume we haven't been getting state updates either:
*/
_tnl_InvalidateState( ctx, ~0 );