mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
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:
parent
5888c47cc9
commit
fe430b0310
2 changed files with 0 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue