mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
mesa: remove unused ctx->Driver.PrioritizeTextures() hook
This commit is contained in:
parent
0187e042b6
commit
73fc0ca4c3
4 changed files with 0 additions and 10 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -567,7 +567,6 @@ void mach64InitTextureFuncs( struct dd_function_table *functions )
|
|||
|
||||
functions->UpdateTexturePalette = NULL;
|
||||
functions->ActiveTexture = NULL;
|
||||
functions->PrioritizeTexture = NULL;
|
||||
|
||||
driInitTextureFormats();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue