diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-12-26 01:14:59 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-12-26 01:14:59 +0000 |
commit | 230a5b5f1c9b6c4279384dc6da006f9b65068d12 (patch) | |
tree | f9febfd5f43b2585f4c5c884616642f8023e722f /src/gallium/state_trackers/python/tests/texture_render.py | |
parent | 3f176bf08cd729d67a00d2bd073f29286b1f9a29 (diff) |
python: Update python state tracker and samples for recent interface changes.
Diffstat (limited to 'src/gallium/state_trackers/python/tests/texture_render.py')
-rwxr-xr-x | src/gallium/state_trackers/python/tests/texture_render.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/python/tests/texture_render.py b/src/gallium/state_trackers/python/tests/texture_render.py index 8a2db9dbcf..79287f2cac 100755 --- a/src/gallium/state_trackers/python/tests/texture_render.py +++ b/src/gallium/state_trackers/python/tests/texture_render.py @@ -144,8 +144,8 @@ class TextureTest(TestCase): sampler.normalized_coords = 1 sampler.min_lod = 0 sampler.max_lod = PIPE_MAX_TEXTURE_LEVELS - 1 - ctx.set_sampler(0, sampler) - ctx.set_sampler_texture(0, src_texture) + ctx.set_fragment_sampler(0, sampler) + ctx.set_fragment_sampler_texture(0, src_texture) # framebuffer cbuf_tex = dev.texture_create( |