st/mesa: remove unused st_context::default_texture

The code which used this was removed quite a while ago.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
Brian Paul 2016-05-10 13:01:26 -06:00
parent 5888c47cc9
commit fe430b0310
2 changed files with 0 additions and 7 deletions

View file

@ -171,11 +171,6 @@ st_destroy_context_priv(struct st_context *st)
}
}
if (st->default_texture) {
st->ctx->Driver.DeleteTexture(st->ctx, st->default_texture);
st->default_texture = NULL;
}
u_upload_destroy(st->uploader);
if (st->indexbuf_uploader) {
u_upload_destroy(st->indexbuf_uploader);

View file

@ -194,8 +194,6 @@ struct st_context
struct st_basic_variant *tep_variant;
struct st_basic_variant *cp_variant;
struct gl_texture_object *default_texture;
struct {
struct pipe_resource *pixelmap_texture;
struct pipe_sampler_view *pixelmap_sampler_view;