Mesa (master): mesa: remove unused ctx->Driver.ActiveTexture() hook

Brian Paul brianp at kemper.freedesktop.org
Fri Dec 11 23:50:33 UTC 2009


Module: Mesa
Branch: master
Commit: 56dce15dcc7b0a869813ef97a0e68b166bac244f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=56dce15dcc7b0a869813ef97a0e68b166bac244f

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Nov 16 12:50:54 2009 -0700

mesa: remove unused ctx->Driver.ActiveTexture() hook

---

 src/mesa/drivers/common/driverfuncs.c    |    1 -
 src/mesa/drivers/dri/mach64/mach64_tex.c |    1 -
 src/mesa/main/dd.h                       |    5 -----
 3 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c
index 4ca0e7b..9b271f8 100644
--- a/src/mesa/drivers/common/driverfuncs.c
+++ b/src/mesa/drivers/common/driverfuncs.c
@@ -124,7 +124,6 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
    driver->UnmapTexture = NULL;
    driver->TextureMemCpy = _mesa_memcpy; 
    driver->IsTextureResident = NULL;
-   driver->ActiveTexture = NULL;
    driver->UpdateTexturePalette = NULL;
 
    /* imaging */
diff --git a/src/mesa/drivers/dri/mach64/mach64_tex.c b/src/mesa/drivers/dri/mach64/mach64_tex.c
index a757362..72917ee 100644
--- a/src/mesa/drivers/dri/mach64/mach64_tex.c
+++ b/src/mesa/drivers/dri/mach64/mach64_tex.c
@@ -565,7 +565,6 @@ void mach64InitTextureFuncs( struct dd_function_table *functions )
    functions->IsTextureResident		= driIsTextureResident;
 
    functions->UpdateTexturePalette	= NULL;
-   functions->ActiveTexture		= NULL;
 
    driInitTextureFormats();
 }
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index fdcaf05..9a5145c 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -538,11 +538,6 @@ struct dd_function_table {
                                    struct gl_texture_object *t );
 
    /**
-    * Called by glActiveTextureARB() to set current texture unit.
-    */
-   void (*ActiveTexture)( GLcontext *ctx, GLuint texUnitNumber );
-
-   /**
     * Called when the texture's color lookup table is changed.
     * 
     * If \p tObj is NULL then the shared texture palette




More information about the mesa-commit mailing list