diff options
author | Brian Paul <brianp@vmware.com> | 2009-10-14 15:11:12 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-10-14 19:08:38 -0600 |
commit | 73fc0ca4c36f258c4d0d7707dd3313a685c211bf (patch) | |
tree | df8458a2f6052dd3b63423beb985fdd2a8773723 /src/mesa/main | |
parent | 0187e042b681663938a1a12e9ae03c6f0ab48af5 (diff) |
mesa: remove unused ctx->Driver.PrioritizeTextures() hook
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/dd.h | 6 | ||||
-rw-r--r-- | src/mesa/main/texobj.c | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index a9632ec954..25aaddea81 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -545,12 +545,6 @@ struct dd_function_table { 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. */ void (*ActiveTexture)( GLcontext *ctx, GLuint texUnitNumber ); diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 8fd5eaa266..31832184c0 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -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 ); } } } |