mesa: remove unused ctx->Driver.ActiveTexture() hook
authorBrian Paul <brianp@vmware.com>
Mon, 16 Nov 2009 19:50:54 +0000 (12:50 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 11 Dec 2009 23:42:31 +0000 (16:42 -0700)
src/mesa/drivers/common/driverfuncs.c
src/mesa/drivers/dri/mach64/mach64_tex.c
src/mesa/main/dd.h

index 4ca0e7bcc37712cc3341353b0f0d69ea70447e8e..9b271f85e92ca14e18bf73bcde25385975076f8e 100644 (file)
@@ -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 */
index a757362b11d82cf75d55863441675f675abce781..72917ee13bfa76180df67c6ea80edc0da289fc1f 100644 (file)
@@ -565,7 +565,6 @@ void mach64InitTextureFuncs( struct dd_function_table *functions )
    functions->IsTextureResident                = driIsTextureResident;
 
    functions->UpdateTexturePalette     = NULL;
-   functions->ActiveTexture            = NULL;
 
    driInitTextureFormats();
 }
index fdcaf05bac56a25445ddef35d64c7a2cfa17fb44..9a5145cd464851177e9ea3980054c882917c388d 100644 (file)
@@ -537,11 +537,6 @@ struct dd_function_table {
    GLboolean (*IsTextureResident)( GLcontext *ctx,
                                    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.
     *