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

This commit is contained in:
Brian Paul 2009-10-14 15:11:12 -06:00
parent 0187e042b6
commit 73fc0ca4c3
4 changed files with 0 additions and 10 deletions

View file

@ -125,7 +125,6 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
driver->UnmapTexture = NULL;
driver->TextureMemCpy = _mesa_memcpy;
driver->IsTextureResident = NULL;
driver->PrioritizeTexture = NULL;
driver->ActiveTexture = NULL;
driver->UpdateTexturePalette = NULL;

View file

@ -567,7 +567,6 @@ void mach64InitTextureFuncs( struct dd_function_table *functions )
functions->UpdateTexturePalette = NULL;
functions->ActiveTexture = NULL;
functions->PrioritizeTexture = NULL;
driInitTextureFormats();
}

View file

@ -544,12 +544,6 @@ struct dd_function_table {
GLboolean (*IsTextureResident)( GLcontext *ctx,
struct gl_texture_object *t );
/**
* Called by glPrioritizeTextures().
*/
void (*PrioritizeTexture)( GLcontext *ctx, struct gl_texture_object *t,
GLclampf priority );
/**
* Called by glActiveTextureARB() to set current texture unit.
*/

View file

@ -1098,8 +1098,6 @@ _mesa_PrioritizeTextures( GLsizei n, const GLuint *texName,
struct gl_texture_object *t = _mesa_lookup_texture(ctx, texName[i]);
if (t) {
t->Priority = CLAMP( priorities[i], 0.0F, 1.0F );
if (ctx->Driver.PrioritizeTexture)
ctx->Driver.PrioritizeTexture( ctx, t, t->Priority );
}
}
}