Remove unnescessary initializations of UpdateTexturePalette
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Sep 2010 13:41:39 +0000 (15:41 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 27 Sep 2010 22:23:14 +0000 (15:23 -0700)
This is already NULL'ed in _mesa_init_driver_functions.

src/mesa/drivers/dri/intel/intel_tex.c
src/mesa/drivers/dri/mach64/mach64_tex.c
src/mesa/drivers/dri/unichrome/via_tex.c
src/mesa/state_tracker/st_cb_texture.c

index 49b7d5ef6b1710d8c355151e80f330deb0349800..e2bff0878a5395d370f43d9cf15bc094f242745f 100644 (file)
@@ -203,7 +203,6 @@ intelInitTextureFuncs(struct dd_function_table *functions)
    functions->NewTextureImage = intelNewTextureImage;
    functions->DeleteTexture = intelDeleteTextureObject;
    functions->FreeTexImageData = intelFreeTextureImageData;
-   functions->UpdateTexturePalette = 0;
 
 #if DO_DEBUG && !defined(__ia64__)
    if (INTEL_DEBUG & DEBUG_BUFMGR)
index 1bce967d58f4c9f274982fc185e46f648d8fe1cc..09367be5b421989fd69ab31a1930b05b56397f4a 100644 (file)
@@ -559,7 +559,5 @@ void mach64InitTextureFuncs( struct dd_function_table *functions )
    functions->DeleteTexture            = mach64DDDeleteTexture;
    functions->IsTextureResident                = driIsTextureResident;
 
-   functions->UpdateTexturePalette     = NULL;
-
    driInitTextureFormats();
 }
index e55129c6dab3cb9d5e99bccca71e2712733ee5b8..49426fef8d7cc455872304b8d7fce5ea48ddc517 100644 (file)
@@ -951,7 +951,6 @@ void viaInitTextureFuncs(struct dd_function_table * functions)
    functions->TextureMemCpy = memcpy;
 #endif
 
-   functions->UpdateTexturePalette = 0;
    functions->IsTextureResident = viaIsTextureResident;
 }
 
index 526417df3ba7206b3e7e82214da3e3a9f19362de..9d232d417e486c1ae07e41b5c3ae4e603e8416df 100644 (file)
@@ -1998,7 +1998,6 @@ st_init_texture_functions(struct dd_function_table *functions)
    functions->NewTextureImage = st_NewTextureImage;
    functions->DeleteTexture = st_DeleteTextureObject;
    functions->FreeTexImageData = st_FreeTextureImageData;
-   functions->UpdateTexturePalette = 0;
 
    functions->TextureMemCpy = do_memcpy;