Auto merge of #1578 - kvark:deinit, r=nical
Auto merge of #1578 - kvark:deinit, r=nical

Proper deinitialization for texture arrays

Fixes  #1577

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/1578)
<!-- Reviewable:end -->

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender