diff options
author | Jakob Bornecrantz <[email protected]> | 2009-11-18 17:38:49 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-11-18 17:49:37 +0100 |
commit | 8d6da811d4fff50dc42e71c6149759908a458f7f (patch) | |
tree | d4534fef14ab7f6202a3c6ba400342a527b0effe /src | |
parent | 910b58039a3980d9857380cf367bdbe2395d791f (diff) |
st/xorg: Unbind any textures in solid
Helps debuging with rbug
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_composite.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_composite.c b/src/gallium/state_trackers/xorg/xorg_composite.c index dd10e128672..eed7a7d63a5 100644 --- a/src/gallium/state_trackers/xorg/xorg_composite.c +++ b/src/gallium/state_trackers/xorg/xorg_composite.c @@ -565,6 +565,8 @@ boolean xorg_solid_bind_state(struct exa_context *exa, renderer_bind_viewport(exa->renderer, pixmap); renderer_bind_rasterizer(exa->renderer); bind_blend_state(exa, PictOpSrc, NULL, NULL, NULL); + cso_set_samplers(exa->renderer->cso, 0, NULL); + cso_set_sampler_textures(exa->renderer->cso, 0, NULL); setup_constant_buffers(exa, pixmap); shader = xorg_shaders_get(exa->renderer->shaders, vs_traits, fs_traits); |