vtdec: fix switching from GLMemory to Sysmem
authorAlessandro Decina <alessandro.d@gmail.com>
Thu, 2 Jun 2016 03:10:51 +0000 (13:10 +1000)
committerAlessandro Decina <alessandro.d@gmail.com>
Thu, 2 Jun 2016 03:15:05 +0000 (13:15 +1000)
commit4a83686a57818e182672b25e5040ea5ba0141f03
tree5509995e54aa84920d49a1175e6badb65798eb28
parentbf444301f998b5aff1fd7e7d18cf7edc2a42b68b
vtdec: fix switching from GLMemory to Sysmem

When renegotiating from GLMemory to Sysmem do teardown the texture_cache.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=766190
sys/applemedia/vtdec.c