diff options
author | Brian Paul <[email protected]> | 2016-05-10 13:01:26 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-05-17 19:20:36 -0600 |
commit | fe430b0310ed0f2f52d45b149e72b7802a6f2cad (patch) | |
tree | 5ef6422c83162d288b8194b3a410d867879baa9c /src/mesa/state_tracker/st_context.c | |
parent | 5888c47cc968a6b6d8ee6c85f43380b0d5970744 (diff) |
st/mesa: remove unused st_context::default_texture
The code which used this was removed quite a while ago.
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Sinclair Yeh <[email protected]>
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index f5a6f8598ca..2484a06bc0e 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -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); |