diff options
author | Michal Krol <michal@vmware.com> | 2009-12-01 08:47:00 +0100 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2009-12-01 09:52:30 +0100 |
commit | ee86b1b58dce4c8416b5333d0ed43d059ba2a200 (patch) | |
tree | 424bc93fad2523dc9aa56c12a9202364d6f49e8a /src/gallium/state_trackers/python/p_context.i | |
parent | e197652ce08cacf0fdbf0509db5eb26500d556c5 (diff) |
python: Update for renamed sampler/texture state setters.
Diffstat (limited to 'src/gallium/state_trackers/python/p_context.i')
-rw-r--r-- | src/gallium/state_trackers/python/p_context.i | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i index a40aa1e518..9728207d9c 100644 --- a/src/gallium/state_trackers/python/p_context.i +++ b/src/gallium/state_trackers/python/p_context.i @@ -147,9 +147,9 @@ struct st_context { if(!texture) texture = $self->default_texture; pipe_texture_reference(&$self->sampler_textures[index], texture); - $self->pipe->set_sampler_textures($self->pipe, - PIPE_MAX_SAMPLERS, - $self->sampler_textures); + $self->pipe->set_fragment_sampler_textures($self->pipe, + PIPE_MAX_SAMPLERS, + $self->sampler_textures); } void set_vertex_buffer(unsigned index, |