diff options
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/context.c | 7 | ||||
-rw-r--r-- | src/mesa/main/dd.h | 6 |
2 files changed, 0 insertions, 13 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index f51adb59da..d660dfd8fe 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 55bb66cb01..5f680116e5 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 |