diff options
author | Roland Scheidegger <sroland@vmware.com> | 2010-03-16 15:49:23 +0100 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2010-03-16 16:24:27 +0100 |
commit | ac8662c29dbf96b456d23308c1bc459eea63e36c (patch) | |
tree | 57b753a2d65b020e68031f86f27cf94b8219727d /src/gallium/state_trackers/xorg/xorg_exa.c | |
parent | e1a4bb23703462487f6267e3ffb7b9b24db841e7 (diff) |
st/xorg: fix up xorg state tracker to use cso changes
use cso_set_fragment_sampler_views instead of cso_set_sampler_textures
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa.c')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_exa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index bdec0e254f..76e6411bb8 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.c +++ b/src/gallium/state_trackers/xorg/xorg_exa.c @@ -975,6 +975,9 @@ xorg_exa_close(ScrnInfoPtr pScrn) modesettingPtr ms = modesettingPTR(pScrn); struct exa_context *exa = ms->exa; + pipe_sampler_view_reference(&exa->bound_sampler_views[0], NULL); + pipe_sampler_view_reference(&exa->bound_sampler_views[1], NULL); + renderer_destroy(exa->renderer); if (exa->pipe) |