loader/dri3: Make sure we invalidate a drawable on size change
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 5 Sep 2017 08:07:13 +0000 (10:07 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 7 Sep 2017 10:43:29 +0000 (12:43 +0200)
commite96d175c7d2edf4639721bad83aa41e341e47952
treea83e5bf5161bea27a6e93e0069854bc208474b46
parenta727c804a2c17db306c68e259ae845aa6382d3b1
loader/dri3: Make sure we invalidate a drawable on size change

If we're seeing a drawable size change, in particular after processing a
configure notify event, make sure we invalidate so that the state tracker
picks up the new geometry.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/loader/loader_dri3_helper.c