st/dri: Clear drawable texture_mask in dri2_invalidate_drawable
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 9 Jun 2016 06:15:19 +0000 (15:15 +0900)
committerMichel Dänzer <michel@daenzer.net>
Tue, 14 Jun 2016 09:16:54 +0000 (18:16 +0900)
commit9ee3f097b65398250e836785a7e87520eda8298d
treef28e67ca192135af91b7266ad4338d9a04f27f86
parenta93bb2e33f189c838a80125bcd5ce388f681dcaf
st/dri: Clear drawable texture_mask in dri2_invalidate_drawable

This makes sure that dri_set_tex_buffer2 -> dri_drawable_validate_att
will re-create the front left attachment buffer after the drawable got
invalidated.

Fixes window contents not updating until the window is resized when
using DRI2 PRIME.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/state_trackers/dri/dri2.c